specify heap and oerm gen size for jvm
When you start up jvm, you can specify heap size and PermGen size, for example '-Xms512m -Xmx1024m -XX:PermSize=384m -XX:MaxPermSize=512m".
Here is my question, heap consists three parts: young gen, old gen and perm gen so it sounds like, in the above case, max yound + max old + max perm should equal to 1024m. But when I read jstat -gccapacity, it seems like max young + max old = 1024m.
Cannot really find any document specifically answering my question, so any idea?
(I initially posted this in basic java forum, but thought it more at pro level.)
|