Hi All, I'm hoping this is the correct forum to discussing this problem. If not please direct me to the best place.
We've recently experienced this OOM in one of our busiest sites and I've had to do a fair amount of research on Java's memory management.
Unfortunately I couldn't find much regarding this specific error but have figured out the follow:
- The crash occured during GC
- The crash appears to be in native code
From the tips I've read up on, it appears that I don't have enough PermGen size as the hs_err file says my PermGen size is at 98% at 27745K. The problem is I'm using the default size at 64M. So how could the error file show that PermGen size is full?
Unfortunately I can't add the entire hs_err file. But the important bits are:
# An unexpected error has been detected by Java Runtime Environment:
# java.lang.OutOfMemoryError: requested 4096000 bytes for GrET in /BUILD_AREA/jdk6_02/hotspot/src/share/vm/utilities/growableArray.cpp. Out of swap space?
# Internal Error (414C4C4F434154494F4E0E494E4C494E450E4850500017), pid=8534, tid=1885957024
# Java VM: Java HotSpot(TM) Server VM (1.6.0_02-b05 mixed mode)
# If you would like to submit a bug report, please visit:
--------------- T H R E A D ---------------
Current thread (0x0813c000): VMThread [id=8540]
Stack: [0x70616000,0x70697000), sp=0x70695cf0, free space=511k
Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code)
PSYoungGen total 37248K, used 936K [0xadc90000, 0xb08b0000, 0xb4e50000)
eden space 36288K, 0% used [0xadc90000,0xadc90000,0xb0000000)
from space 960K, 97% used [0xb07c0000,0xb08aa010,0xb08b0000)
to space 4032K, 0% used [0xb00d0000,0xb00d0000,0xb04c0000)
PSOldGen total 417600K, used 416570K [0x74e50000, 0x8e620000, 0xadc90000)
object space 417600K, 99% used [0x74e50000,0x8e51e8f8,0x8e620000)
PSPermGen total 28032K, used 27745K [0x70e50000, 0x729b0000, 0x74e50000)
object space 28032K, 98% used [0x70e50000,0x72968560,0x729b0000)