- After running an application for about a week, the following error appears in the JBoss EAP server log:
Exception java.lang.OutOfMemoryError: requested 32756 bytes for ChunkPool::allocate. Out of swap space?
- JBoss crashes with the JVM creating a fatal error log with the following header and current thread information:
# # An unexpected error has been detected by Java Runtime Environment: # # java.lang.OutOfMemoryError: requested 270480 bytes for Chunk::new. Out of swap space? # # Internal Error (allocation.cpp:218), pid=6932, tid=8336 # Error: Chunk::new # # Java VM: Java HotSpot(TM) Server VM (11.0-b15 mixed mode windows-x86) # If you would like to submit a bug report, please visit: # http://java.sun.com/webapps/bugreport/crash.jsp # The crash happened outside the Java Virtual Machine in native code. # See problematic frame for where to report the bug. # --------------- T H R E A D --------------- Current thread (0x64075800): JavaThread "CompilerThread1" daemon [_thread_in_native, id=8336, stack(0x643d0000,0x64420000)]
The fatal error log suspiciously shows plenty of available physical memory and swap space:
Memory: 4k page, physical 2097151k(2097151k free), swap 4194303k(4194303k free)
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.