jvm - Where is Java PERM generation? -
when start jvm perm gen allocated? part of main heap or in addition heap size.
for example if use following parameters:
-server -xms10g -xmx10g -xx:maxpermsize=1536m
is total size of java going 6g + 512m or 6.5g java or perm generation setup inside of heap meaning running application have 6g - 512m = 5.5mb young / tenured(aka old) , perm?
this graphic in 4. sizing generations seems imply may outside of heap can't seem find states sure. http://www.oracle.com/technetwork/java/javase/gc-tuning-6-140523.html
looking @ output jstat seem on outside of main heap may way reported.
[jboss@pts03-taps-03 ~]$ jstat -gccapacity pid ngcmn ngcmx ngc s0c s1c ec ogcmn ogcmx ogc oc pgcmn pgcmx pgc pc ygc fgc 85184.0 85184.0 85184.0 8512.0 8512.0 68160.0 10400576.0 10400576.0 10400576.0 10400576.0 21248.0 1572864.0 1387840.0 1387840.0 431 43 ogcmx = 10400576.0 (almost 10g old gen) ngcmx = 85184.0 (ogcmx + ngcmx = close 10g new gen) pgcmx = 1572864.0 (1.5g perm gen)
if possible please provide link documentation showing case true.
-server -xms10g -xmx10g -xx:maxpermsize=1536m
the total of heap , perm gen going 11.5 gb. there other areas of memory, e.g. direct memory can big. area shared libraries fixed size.
e.g. can set
-mx128m -xx:maxpermsize=1g
if perm gen insize heap fail.
Comments
Post a Comment