Skip to content
Discussion options

You must be logged in to vote

Does those two settings assure that no OOM problem will occur?

The aim is to minimize OoM occurrences. But I don't think you can really be 100% sure. There are also various use cases - some users have one Kafka cluster, while some have tens or hundreds of different resources. So it is hard to find one setting to fit them all.

The setting -XX:MaxRAMPercentage=20 seems very conservative. Is there any practical guidance of this setting?

IIRC this controls the amount of RAM which will go to the Java heap. That is only a small chunk of the memory used by a Java application. So it looks like very little, but the other parts of memory take a fairly big chunk of it when you give the process o…

Replies: 1 comment 3 replies

Comment options

You must be logged in to vote
3 replies
@LinzeSu
Comment options

@scholzj
Comment options

@LinzeSu
Comment options

Answer selected by LinzeSu
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants