|
|
# Possible reasons:
/ Z* R9 U6 C: @; P, S1 |4 i9 M4 U+ Z# The system is out of physical RAM or swap space
v; @/ |: b# b; _% w# The process is running with CompressedOops enabled, and the Java Heap may be blocking the growth of the native heap
; r4 U& [& v" q9 a& R( R! g# Possible solutions:1 _6 T s" M O
# Reduce memory load on the system4 t9 b2 ?8 C/ H6 u% R% ?2 Z
# Increase physical memory or swap space
3 v( l0 Q- o# u- a) @# Check if swap backing store is full
- p! n# Z5 B" H/ d# Decrease Java heap size (-Xmx/-Xms)' }3 H$ Y1 {, o. D
# Decrease number of Java threads; A# z; R A5 D7 ?
# Decrease Java thread stack sizes (-Xss) Y r; a" B. S' {9 I
# Set larger code cache with -XX:ReservedCodeCacheSize=- T7 f" \0 ?" K: I
# JVM is running with Zero Based Compressed Oops mode in which the Java heap is# B _& O% k' m3 b8 F: u3 `8 s* e. l
# placed in the first 32GB address space. The Java Heap base address is the
" x# `- \- }7 R ~& R* y# maximum limit for the native heap growth. Please use -XX:HeapBaseMinAddress
1 }! B N: k. z# to set the Java Heap base and to place the Java Heap above 32GB virtual address.1 Y8 n1 ]4 |. l9 U# F
把所有其他程序关掉,增加jvm内存分配 |
|