1 Reply Latest reply: Jan 8, 2008 10:06 AM by 843829 RSS

    Dose total heap size specified by -Xms, -Xmx include permanent generation ?

    843829
      JVM memory area is classified by young, tenured, and permanent generations as is described in "Java SE 6 HotSpot Virtual Machine Garbage Collection Tuning"(http://java.sun.com/javase/technologies/hotspot/gc/gc_tuning_6.html).


      But in this article, it is unclear whether total heap size specified by -Xms and -Xmx parameters includes all three generations or only young and tenured generations. Specially the diagram depicted at section "4. Sizing the Generations" in the article strongly implies that the heap size includes only young and tenured generations. But, I can't be assured.

      So, is there anybody who can tell whether the permanent generation is included the heap size specified by -Xms and -Xmx or not ?
      If not, the usual word, heap means only young and tenured generations?

      Thanks in advance.



      Edited by: 3rdstage on Jan 7, 2008 5:49 PM