By Djkiou
via javacodegeeks.com
Published: Jan 17 2013 / 09:54
Recently, I was discussing with a friend, why the Java process uses more memory than the maximum heap that we set when starting the java process.All java objects that code creates are created inside Java heap space, which its size is defined by the -Xmx option. But a java process is consisted by many spaces, not only by the java heap space. A few of spaces that a java process is consisted are the following: Loaded libraries (including jar and class files) Control structures for the java heap Thread Stacks Generated (JITed) code User native memory (malloced in JNI) … more…
Tweet
SaveShareSend
Tags: frameworks, java, methodology, open source
Add your comment