Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 19 Feb 2003 07:42:22 -0800
From:      Milo Hyson <milo@cyberlifelabs.com>
To:        FreeBSD Java Mailing List <freebsd-java@freebsd.org>
Subject:   JVM choking
Message-ID:  <3E53A5DE.9080506@cyberlifelabs.com>

next in thread | raw e-mail | index | archive | help
Has anyone run into any problems with their JVM choking on too many 
objects? I'm currently working on an application in which 1,000,000+ 
objects are in existence at any given time. When the program first 
starts up and begins creating the objects, things run very fast but soon 
begin to slow down. Available memory also drops rapidly. Eventually, 
everything grinds to a halt and it just sits there -- no disk activity, 
no network traffic, no output, but 100% CPU load. Several tens of 
megabytes of memory are still available so it's not out of RAM. After a 
minute or so of no activity, an exception begins to be displayed but 
never completes printing. There isn't enough of it shown to see what 
kind of exception it is. At that point, all I can do is hit Ctrl-C 
(which does kill it BTW).

Anyone ever seen anything like this? I'm using the Native JDK 1.3.1 
w/patchset 8. The problem occurs both with and without a JIT, but seems 
to get further without it.

-- 
Milo Hyson
CyberLife Labs


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-java" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3E53A5DE.9080506>