RE: Growing memory footprint

"Stephen McConnell" <[email protected]>
Newsgroups gmane.comp.jakarta.avalon.user
Message-ID <000e01c49fa5$d3788e10$1601a8c0@gloria>

I'm going to throw a little test case

> -----Original Message-----
> From: rakesh bhakta [mailto:[email protected]]
> Sent: 20 September 2004 16:42
> To: [email protected]
> Subject: Growing memory footprint
> 
> I am using merlin (artifact:merlin/merlin-impl#3.3.0") in an embedded
> style.  My application has a "restart" feature that calls the shutdown
> method of the current kernel, and then recreate it with
> factory.create(criteria).
> 
> At issue is the memory foot print after each restart.  It keeps
growing at
> about 8 to 10 Megs per restart.  Eventually, if enough restart occurs,
JVM
> runs out of memory in my memory constrained application.
> 
> Could this behavior be due to Merlin ?
> Could Merlin be hanging on to something after shutdown method is
called?
> Is there any cleanup I should due after shutdown method is called?

I need to check but there is a reference to the kernel held by a
shutdown hook - I'm just wondering if that is potentially keeping the
kernel in memory. 

Steve.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.