|
|
# Possible reasons:/ v. G/ f- g0 H$ i
# The system is out of physical RAM or swap space
1 v) N& ~8 P8 x' B- x# The process is running with CompressedOops enabled, and the Java Heap may be blocking the growth of the native heap
2 D, K3 x% n9 r5 G# Possible solutions:
, A( ]8 u) o2 U8 P1 j- I- z! l% r# Reduce memory load on the system
( o1 l7 q# R1 x# Increase physical memory or swap space
$ [& P( k! K0 S" {# Check if swap backing store is full% k1 w# p+ O& V2 N
# Decrease Java heap size (-Xmx/-Xms)
: l' P! W3 p4 u! _2 @! r6 l# Decrease number of Java threads2 A0 [3 z7 y3 E' {. U1 O
# Decrease Java thread stack sizes (-Xss)
# n: W% h' y% z- }5 H9 _# Set larger code cache with -XX:ReservedCodeCacheSize=
7 q& O& B2 \8 V0 Q" J, M% r# JVM is running with Zero Based Compressed Oops mode in which the Java heap is8 e1 J6 X7 b# i' e) L% s0 O4 [
# placed in the first 32GB address space. The Java Heap base address is the0 b9 Q" N j& f }9 D. S
# maximum limit for the native heap growth. Please use -XX:HeapBaseMinAddress
& d* Y9 j7 ^1 X2 O4 W) u# to set the Java Heap base and to place the Java Heap above 32GB virtual address.
6 r6 A5 x3 M# t0 r. X把所有其他程序关掉,增加jvm内存分配 |
|