|
Evaluation
|
You have run out of memory during a garbage collection. From the hs_err log:
Heap
def new generation total 36288K, used 36288K [0x86ea0000, 0x89600000, 0x89600000)
eden space 32256K, 100% used [0x86ea0000, 0x88e20000, 0x88e20000)
from space 4032K, 100% used [0x88e20000, 0x89210000, 0x89210000)
to space 4032K, 0% used [0x89210000, 0x89210000, 0x89600000)
tenured generation total 483968K, used 483968K [0x89600000, 0xa6ea0000, 0xa6ea0000)
the space 483968K, 100% used [0x89600000, 0xa6ea0000, 0xa6ea0000, 0xa6ea0000)
compacting perm gen total 108288K, used 108090K [0xa6ea0000, 0xad860000, 0xb5ea0000)
the space 108288K, 99% used [0xa6ea0000, 0xad82e980, 0xad82ea00, 0xad860000)
The eden and from spaces are 100% used, as is every last byte in the tenured generation. That should ordinarily throw an OutOfMemoryError at you rather than crashing, so I don't know why it crashed for you.
It would be diagnostic if you could run with a somewhat larger heap. E.g., instead of your -Xmx512m, can you run with -Xmx768m? You seem to have 1GB of physical memory on the machine, though you are also asking for -XX:MaxPermSize=240m, so maybe -Xmx768m is pushing it. Even -Xmx640m might be enough to decide if that's the problem, or if it just delays the problem. On the other hand, you are only using 105MB of the permanent generation, so maybe you could shrink that judiciously. Or cut back on the data sets you are handling and see if that runs in -Xmx512m -XX:MaxPermSize=240m.
Running with the additional command line flags
-XX:+PrintGCTimeStamps -XX:+PrintGCDetails
would give us more information on what the collector is doing. If you could gather that output and attach it to this bug it would help. Thanks.
Have you run any memory profilers to see if your heap has only what you think it should have in it? Running out of memory after 30 days might be symptomatic of a "leak", i.e., unintentional retention of data structures.
Posted Date : 2007-04-09 20:21:14.0
|