jmap –heap
Attaching to process ID 369634, please wait…
Debugger attached successfully.
Server compiler detected.
JVM version is 25.20-b23
using thread-local object allocation.
Parallel GC with 43 thread(s)
Heap Configuration:
MinHeapFreeRatio = 0
MaxHeapFreeRatio = 100
MaxHeapSize = 2147483648 (2048.0MB)
NewSize = 715653120 (682.5MB)
MaxNewSize = 715653120 (682.5MB)
OldSize = 1431830528 (1365.5MB)
NewRatio = 2
SurvivorRatio = 8
MetaspaceSize = 21807104 (20.796875MB)
CompressedClassSpaceSize = 1073741824 (1024.0MB)
MaxMetaspaceSize = 17592186044415 MB
G1HeapRegionSize = 0 (0.0MB)
Heap Usage:
PS Young Generation
Eden Space:
capacity = 674758656 (643.5MB)
used = 11542128 (11.007431030273438MB)
free = 663216528 (632.4925689697266MB)
1.7105564926609849% used
From Space:
capacity = 19922944 (19.0MB)
used = 0 (0.0MB)
free = 19922944 (19.0MB)
0.0% used
To Space:
capacity = 19398656 (18.5MB)
used = 0 (0.0MB)
free = 19398656 (18.5MB)
0.0% used
PS Old Generation
capacity = 1431830528 (1365.5MB)
used = 47841160 (45.62488555908203MB)
free = 1383989368 (1319.875114440918MB)
3.3412585543084607% used
24001 interned Strings occupying 2814616 bytes.
JMAP –history
num #instances #bytes class name
1: 105925 14677152 [C
2: 9379 13172384 [B
3: 103335 2480040 java.lang.String
4: 20507 1968672 java.util.jar.JarFileJarFileEntry5:556101779520java.util.HashMapSoftEntryReference
84: 390 18720 org.springframework.beans.PropertyValue
85: 779 18696 [Lsun.security.x509.AVA;
86: 779 18696 sun.security.x509.AVA
87: 779 18696 sun.security.x509.RDN
88: 1164 18624 java.util.LinkedHashSet
89: 388 18624 java.util.WeakHashMap
90: 559 17888 javassist.bytecode.ExceptionTableEntry
91: 555 17760 javax.management.MBeanAttributeInfo
92: 168 17448 [Z
93: 429 17160 javax.servlet.jsp.tagext.TagAttributeInfo
94: 236 16992 org.apache.tomcat.util.net.jsse.openssl.Cipher
95: 346 16608 org.springframework.core.ResolvableType
96: 287 16072 java.util.HashMapTreeNode97:22316056io.netty.channel.DefaultChannelHandlerCont