|
|
# Possible reasons:
: M( c0 g$ A& q; v) J- f# The system is out of physical RAM or swap space
( Z3 X e2 K) B' g# The process is running with CompressedOops enabled, and the Java Heap may be blocking the growth of the native heap
5 ~7 S5 H' E) B2 u& i# Possible solutions:0 ~9 [( B# L* p5 u
# Reduce memory load on the system$ r3 B& O r& G- r( q
# Increase physical memory or swap space9 r+ y, V* l, E' D3 ?
# Check if swap backing store is full
$ X- M Q, E7 h) g9 B# Decrease Java heap size (-Xmx/-Xms)& p/ s+ t% v r; i
# Decrease number of Java threads
5 l! E# T/ b8 {0 H) m# Decrease Java thread stack sizes (-Xss)) s6 k1 C* U$ U, b/ @
# Set larger code cache with -XX:ReservedCodeCacheSize=% d% y* n" g$ U i' E
# JVM is running with Zero Based Compressed Oops mode in which the Java heap is6 Y5 C( j, r! M& R0 H# x; A
# placed in the first 32GB address space. The Java Heap base address is the
7 a1 B' |- s' _' @( X# maximum limit for the native heap growth. Please use -XX:HeapBaseMinAddress
9 g/ @' I2 S! ~' f4 r# to set the Java Heap base and to place the Java Heap above 32GB virtual address.! \. e7 A4 G8 J8 A& `8 \1 n) O) E
把所有其他程序关掉,增加jvm内存分配 |
|