|
From: Jennifer K. <jk...@si...> - 2004-03-16 00:28:07
|
I am seeing out of memory exceptions well after startup.. again-- something I never saw w/o my process being under the wrapper.. I have yet to run the wrapped system under a profiler to look at what is going on more closely. I could allocate more memory, (I have a max of 96m) per process.. but since i am running up to 30 processes I don't want to give each too much... and again, this was never an issue before... I am still getting OutOfMemory exceptions, but they are now allowing restarts.. Jennifer On Mar 14, 2004, at 9:06 AM, Leif Mortenson wrote: > Jennifer, > Does this solve the problems you were having with OutOfMemory > messages as > well? Were those all happening on startup? > > Cheers, > Leif > > Jennifer Kolar wrote: > >> That did it. I didn't remember the Stop in the wrappersimpleapp... >> Cool. >> perfect. >> Thanks >> >> On Mar 9, 2004, at 4:37 PM, Leif Mortenson wrote: >> >>> Jennifer, >>> I have been looking into this some more. I added some more debug >>> output to the >>> WrapperManager class to make it easier to debug this sort of >>> problem. You can try >>> it from CVS if you like. (SourceForge's public CVS is 24 hrs behind >>> the dev archive) >>> >>> Looking over the debug log output that you sent me again, I >>> noticed the following >>> line: >>> >>> INFO | jvm 7 | 2004/02/26 19:33:00 | Thread, >>> WrapperSimpleAppMain, handling the shutdown process. >>> >>> This tells me that the WrapperSimpleApp helper class's main >>> thread called >>> WrapperManager.stop. This will happen if your class's main method >>> throws an >>> uncaught exception. Does that sound what might be happening? >>> >>> If this is the case then I would expect to have seen the >>> following output in your log. >>> The log you posted was edited so you may have removed it. Could you >>> please confirm >>> one way or the other? >>> >>> INFO | jvm 7 | 2004/02/26 19:32:59 | WrapperSimpleApp: >>> Encountered an error running main: (Your exception) >>> >>> If you are trying to invoke a restart on the above exception, it >>> will not work because >>> the call to WrapperManager.stop will override the restart request >>> and stop the Wrapper >>> along with its JVM. >>> >>> Cheers, >>> Leif >> > > > > ------------------------------------------------------- > This SF.Net email is sponsored by: IBM Linux Tutorials > Free Linux tutorial presented by Daniel Robbins, President and CEO of > GenToo technologies. Learn everything from fundamentals to system > administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click > _______________________________________________ > Wrapper-user mailing list > Wra...@li... > https://lists.sourceforge.net/lists/listinfo/wrapper-user |