|
|
# Possible reasons:; B4 d! ^, y m/ Q; c
# The system is out of physical RAM or swap space
' G; g6 H: e% _# The process is running with CompressedOops enabled, and the Java Heap may be blocking the growth of the native heap
3 l5 n y1 f# u9 g! c# Possible solutions:/ m. B! l, w7 J% V
# Reduce memory load on the system
1 U3 }9 E6 l- ^* o1 O; `# Increase physical memory or swap space& r {" m$ h% V& w
# Check if swap backing store is full: C* b7 V# q4 C- N5 |
# Decrease Java heap size (-Xmx/-Xms)
) M8 P7 b3 E9 A! P# Decrease number of Java threads
6 D9 [: \% h3 ?$ h/ A2 [- D# Decrease Java thread stack sizes (-Xss)
. u0 j. F$ [# C# Set larger code cache with -XX:ReservedCodeCacheSize=
; J& C) I8 X9 e9 Y3 d& u! n9 j# JVM is running with Zero Based Compressed Oops mode in which the Java heap is. w) @, i6 p% T) x
# placed in the first 32GB address space. The Java Heap base address is the. @ t# M, Y- ]5 d
# maximum limit for the native heap growth. Please use -XX:HeapBaseMinAddress
/ f! j b) [$ W8 r3 K) F# to set the Java Heap base and to place the Java Heap above 32GB virtual address.
6 z+ P t" T" B; k8 h' a* |4 E G! s把所有其他程序关掉,增加jvm内存分配 |
|