Admin: Memory

From Resin 3.0

(Difference between revisions)
Jump to: navigation, search
Line 1: Line 1:
 
[[Category: Admin]]
 
[[Category: Admin]]
 +
 +
= Memory Pools =
 +
 +
Java organizes its memory into pools, depending on the memory use. The main long-term heap memory is the Tenured memory.
 +
Other memory are optimizations of the Tenured memory. Eden is new, short-term memory. Survivor is long-lived memory.
  
 
== CodeCache ==
 
== CodeCache ==

Revision as of 17:11, 11 September 2010


Memory Pools

Java organizes its memory into pools, depending on the memory use. The main long-term heap memory is the Tenured memory. Other memory are optimizations of the Tenured memory. Eden is new, short-term memory. Survivor is long-lived memory.

CodeCache

The CodeCache is the JVM's non-heap memory pool containing the JNI compiled Java class code.

Eden

The Eden memory pool is used by the JVM for new, short-lived memory. Free memory in the Eden can be collected in fast garbage collections.

The Eden memory size is configured with -Xmn128m. In general, the JVM's defaults are fine.

Personal tools