|
|
# Possible reasons:
: g5 v0 n) A n) ?# The system is out of physical RAM or swap space
, L& R2 k; l1 B. H/ M! C0 r; Q' C# The process is running with CompressedOops enabled, and the Java Heap may be blocking the growth of the native heap
$ R" a4 X, l' A# Possible solutions:. ?: H# R0 _! `' J+ B+ k/ P' b
# Reduce memory load on the system
1 D) p7 G/ W {1 G1 m* j# Increase physical memory or swap space
7 l7 l- I$ |& U7 p2 s& g. m# Check if swap backing store is full7 P: T: ~" b: A5 `# d
# Decrease Java heap size (-Xmx/-Xms)8 ]8 s# h$ f# U
# Decrease number of Java threads$ P I( U) @2 |% G* e
# Decrease Java thread stack sizes (-Xss)! @4 q9 e( a4 w6 D
# Set larger code cache with -XX:ReservedCodeCacheSize=4 U' k5 K3 j0 r
# JVM is running with Zero Based Compressed Oops mode in which the Java heap is. a3 W0 u- C! ]1 ~6 a
# placed in the first 32GB address space. The Java Heap base address is the
. S9 J* k8 f' m! l' N+ V1 V# maximum limit for the native heap growth. Please use -XX:HeapBaseMinAddress
6 x9 r3 x% ^* E" h# to set the Java Heap base and to place the Java Heap above 32GB virtual address.
; s- s7 x, F; }" T把所有其他程序关掉,增加jvm内存分配 |
|