This is the mail archive of the
kawa@sources.redhat.com
mailing list for the Kawa project.
Re: OutOfMemoryError
- From: Per Bothner <per at bothner dot com>
- To: Sven Hartrumpf <Sven dot Hartrumpf at FernUni-Hagen dot de>
- Cc: kawa at sources dot redhat dot com
- Date: Tue, 03 Jun 2003 23:52:43 -0700
- Subject: Re: OutOfMemoryError
- References: <20030604.083344.74734572.Sven.Hartrumpf@FernUni-Hagen.de>
Sven Hartrumpf wrote:
All my bugs are solved so far. Thanks Per!
However my program quickly stops with a
java.lang.OutOfMemoryError.
Hm. It's possible you just have a very big data-set.
But more likely there some bug causing it to either
allocate or retain too much memory. I do know that
I need to go over how NamespaceResolver interacts
with TreeList, but I don't think that's what you're seeing.
More likely some data tructure just keeps growing.
But how to track the problem down? Anyone know of
any good tools to debug memory usage? Just something
that tells us how many objects of different classes
are live would be helpful, but th culprit may well
be some array.
--
--Per Bothner
per@bothner.com http://per.bothner.com/