Oracle Community Directory
Oracle Community FAQ
My Oracle Support Community (MOSC)
Go Directly To
Oracle Technology Network Community
My Oracle Support Community
OPN Cloud Connection
Oracle Employee Community
Oracle User Group Community
OTN Speaker Bureau
Java HotSpot Virtual Machine
Java Virtual Machine (JVM)
Please enter a title.
You can not post a blank message. Please type your message and try again.
This discussion is archived
: Feb 24, 2013 6:19 AM by
G1GC said "heap expansion operation failed"
Feb 24, 2013 6:19 AM
I'm testing G1GC of jdk 1.7.0_13 now.
However VM said "heap expansion operation failed" in gc log.
10632.453: [G1Ergonomics (Heap Sizing) attempt heap expansion, reason: humongous allocation request failed, allocation request: 16793616 bytes]
10632.453: [G1Ergonomics (Heap Sizing) expand the heap, requested expansion amount: 17825792 bytes, attempted expansion amount: 17825792 bytes]
10632.453: [G1Ergonomics (Heap Sizing) did not expand the heap, reason: heap expansion operation failed]
Those message have appeared not only once, but also often appeared.
1)Why is VM memory allocation failed?
2)To use G1GC is, do I need more heap?
3)How to avoid this problem without increase memory?
CentOS release 6.2 (Final) 64bit
-server -Djava.awt.headless=true -Xms3g -Xmx3g -XX:+UseG1GC -XX:MaxGCPauseMillis=200
for logging gc
-Xloggc:$CATALINA_HOME/logs/gc.log -XX:+PrintGC -XX:+PrintGCDetails -XX:+PrintGCTimeStamps -XX:+PrintGCDateStamps -XX:+PrintAdaptiveSizePolicy -XX:+PrintFlagsFinal
This content has been marked as final.
Show 0 replies