jdk-1.4.2p7 crashes with no indication of why

Nicolas Gieczewski trash at nixsoftware.com
Mon Mar 21 10:01:58 PST 2005


> > -Xmx256m: Fine on Linux, random silent crashes on FreeBSD.
> > -Xmx128m: java.lang.OutOfMemoryError exceptions on both OSs.
> > 
> > Does this help at all? By now I'm pretty much sure that the crashes I'm
> > experiencing are memory-management-related; otherwise they shouldn't
> > go away when changing the value of -Xmx.
> 
> Can you check what the 'top' and similar utilities report on the memory 
> usage of JVM close to the time of crashes, with 256M memory? Also, are 
> there more then one JVM running?
> 
> (I'm asking this because there could be a resource limit you're hitting, 
> e.g. for maximum memory allowed to a process, or something like it.)

The highest I've seen with top is SIZE/RES = 563M/234M, but that's not necessarily when it crashes. I've seen it crash at 559M/176M, for example, so it doesn't look like I'm hitting any specific limits.

Nick



More information about the freebsd-java mailing list