Why does G1GC log "humongous allocation request failed"?
Issue
- We see the following messages in our error log followed by a Full GC:
87080.686: [G1Ergonomics (Heap Sizing) attempt heap expansion, reason: humongous allocation request failed, allocation request: 531476496 bytes]
87080.686: [G1Ergonomics (Heap Sizing) expand the heap, requested expansion amount: 318767104 bytes, attempted expansion amount: 318767104 bytes]
87080.686: [G1Ergonomics (Heap Sizing) did not expand the heap, reason: heap expansion operation failed]
Environment
- Java using G1GC
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.