[wasadmin@vm140379 ~]$ jmap -heap 18912
Attaching to process ID 18912, please wait...
Debugger attached successfully.
Server compiler detected.
JVM version is 25.171-b11
using thread-local object allocation.
Parallel GC with 4 thread(s)
Heap Configuration:
MinHeapFreeRatio = 0
MaxHeapFreeRatio = 100 //JVM堆最大空闲比率(default 70)
MaxHeapSize = 1270874112 (1212.0MB) //最大内存大小
NewSize = 26214400 (25.0MB) //新生代默认大小, -XX:MaxNewSize=
MaxNewSize = 423624704 (404.0MB) //新生代大小,-XX:MaxNewSize=
OldSize = 53477376 (51.0MB) //老年代大小,-XX:OldSize=
NewRatio = 2 //‘新生代’和‘老生代’的大小比率, -XX:NewRatio=
SurvivorRatio = 8 //Eden区与Survivor区的大小比值
MetaspaceSize = 21807104 (20.796875MB)
CompressedClassSpaceSize = 1073741824 (1024.0MB)
MaxMetaspaceSize = 17592186044415 MB
G1HeapRegionSize = 0 (0.0MB)
Heap Usage:
PS Young Generation
Eden Space:
capacity = 41943040 (40.0MB) //Eden区总容量
used = 20010128 (19.083145141601562MB)
free = 21932912 (20.916854858398438MB)
47.707862854003906% used
From Space:
capacity = 1572864 (1.5MB) //survivor 总容量
used = 1277952 (1.21875MB)
free = 294912 (0.28125MB)
81.25% used
To Space: //survivor 总容量
capacity = 1572864 (1.5MB)
used = 0 (0.0MB)
free = 1572864 (1.5MB)
0.0% used
PS Old Generation
capacity = 184549376 (176.0MB) //old 区总容量
used = 130394728 (124.3541030883789MB)
free = 54154648 (51.645896911621094MB)
70.65574039112438% used
46362 interned Strings occupying 5098032 bytes.
[wasadmin@vm140379 ~]$