Is the constant part of the memory reserved using the xmx parameter?

In java, we can determine the maximum memory that a process can take with the xmx parameter. For perm gen, we can define MaxPermSize. Thus, perm gen space is also part of the xmx allocated memory.

so xmx = young + old or young + old + perm OR young + old + perm + stack space?

+3
source share
1 answer

So, perm gen space is also part of the memory allocated using the xmx parameter.

No space alt text

Source: A bunch of processes, Eden, Tenured, and Permgen .

+6
source

Source: https://habr.com/ru/post/1766595/


All Articles