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. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]