|
|
# Possible reasons:
* x$ j! }2 w. ^* _) C- o9 ]8 ~, [# The system is out of physical RAM or swap space$ }1 B! H/ R/ |# c2 w) l- c
# The process is running with CompressedOops enabled, and the Java Heap may be blocking the growth of the native heap
9 r3 v; X+ D" p" _; L# Possible solutions:7 a4 s# A* @3 y% s/ H. Q
# Reduce memory load on the system
( t, {/ }( V4 [: B' T; D# Increase physical memory or swap space8 x0 A% w+ ^. A4 L' b# s
# Check if swap backing store is full
! q4 @5 Z, s, a9 D9 G+ m# Decrease Java heap size (-Xmx/-Xms)( v1 A8 K3 V& q- V, Y8 t
# Decrease number of Java threads
7 n0 \( V( L8 J& `$ U7 N# Decrease Java thread stack sizes (-Xss)
( [8 r- J/ H$ r, c" O# Set larger code cache with -XX:ReservedCodeCacheSize=
- y; f3 T' l( \5 v' l* E# JVM is running with Zero Based Compressed Oops mode in which the Java heap is: Z& p1 C( P+ G" r4 m9 w1 }* |( d
# placed in the first 32GB address space. The Java Heap base address is the
/ T" A( b8 T' M, Y. m* C% b# maximum limit for the native heap growth. Please use -XX:HeapBaseMinAddress# D( s7 m) A/ E5 d5 p" A2 q/ _
# to set the Java Heap base and to place the Java Heap above 32GB virtual address.+ ?4 Q( t3 o2 v9 Z0 j# G
把所有其他程序关掉,增加jvm内存分配 |
|