I've been getting some strange errors ( perhaps once per day ) after updating a handful of servers to run on Java 6 update 14.
The errors are similar to
#
# A fatal error has been detected by the Java Runtime Environment:
#
# java.lang.OutOfMemoryError: requested 1759920 bytes for Chunk::new. Out of swap space?
#
# Internal Error (allocation.cpp:215), pid=26706, tid=317545360
# Error: Chunk::new
#
# JRE version: 6.0_14-b08
# Java VM: Java HotSpot(TM) Server VM (14.0-b16 mixed mode linux-x86 )
# If you would like to submit a bug report, please visit:
# http://java.sun.com/webapps/bugreport/crash.jsp
#
Stragely enough, the current thread is the compiler
0x088a0800 JavaThread "CompilerThread1" daemon [_thread_blocked, id=26716, stack(0x12c7f000,0x12d00000)]
=>0x0889e400 JavaThread "CompilerThread0" daemon [_thread_in_native, id=26715, stack(0x12e55000,0x12ed6000)]
and there is more than enough memory available:
Heap
PSYoungGen total 256064K, used 93533K [0xa2cd0000, 0xb4290000, 0xb4290000)
eden space 228352K, 31% used [0xa2cd0000,0xa72d6308,0xb0bd0000)
from space 27712K, 78% used [0xb2780000,0xb3cd1150,0xb4290000)
to space 28032K, 0% used [0xb0bd0000,0xb0bd0000,0xb2730000)
PSOldGen total 2275584K, used 885858K [0x17e90000, 0xa2cd0000, 0xa2cd0000)
object space 2275584K, 38% used [0x17e90000,0x4dfa8bf8,0xa2cd0000)
PSPermGen total 32128K, used 27819K [0x13e90000, 0x15df0000, 0x17e90000)
object space 32128K, 86% used [0x13e90000,0x159bac50,0x15df0000)
I known JVM crashes are hard to debug, but I'm curious if any of you encountered similar issues - and how did you solve them.