I have a few questions about java gc and memory management.
In Java, we allocate old memory and permenates to JVM by using these parameters bound with process memory upper bound and less xmx and xms parameters. So if the new thread is created, then stacks from memory are allocated for memory threads? Is it from a premise or any other place?
In addition to this, the static variable of the class is allocated to space, youth, old or perim space? (I think perm?)
What XMX Paramoder Youth + Old Genes or Youth + Old + Perm Jean or Youth + Old + Permit + Stack Size ??
Thanks
-Xmx
parameter only for young people of stacks + old parts It restricts itself, as
The Perm area is not part of it.
The size of the stack area is determined by the -Xss
flag, the size of the pile area is determined by the size -Xmx
and the paragraph field size -XX: MaxPermSize
.
If you want to plunge into JVM internal memory management, then I recommend it.
Comments
Post a Comment