Re: weird weird outofmemory
Re: weird weird outofmemory
- Subject: Re: weird weird outofmemory
- From: Jonathan Rochkind <email@hidden>
- Date: Tue, 30 Mar 2004 14:02:38 -0600
At 9:26 PM +0200 3/30/04, Anjo Krank wrote:
Am 30.03.2004 um 20:41 schrieb Jonathan Rochkind:
Huh? Around 14 megs of free memory, and it's still reporting
OutOfMemory? And there's no good reason for there to be only 14
megs of free memory anyway, there should be a lot more than that.
I've seen this too. Funny that it goes away when user manually logs out...
Can you explain further what you mean by this? I've been having my
app forcibly terminate itself when it receives an OutOfMemory.
Because in some OutOfMemory conditions, wotaskd/JavaMonitor can't
even restart the app instance, so it'll just hang around forever, but
not be capable of handling requests. So figuring there's no good way
to recover from an OutOfMemory anyway, better to just have the
instance terminate itself, and then it can be restarted by wotaskd.
But... if some of these OutOfMemory conditions are kind of spurious,
and will essentially "go away" on their own---then it may be more
undesirable than I thought to have the app terminate itself on
OutOfMemory. Because I'm interrupted all existing sessions, when I
don't neccesarily really need to.
Please explain further.
--Jonathan
I must have a memory leak or something somewhere. Is there any way
to try and figure out what's going on without a profiler? Part of
what makes this a pain is that OutOfMemoryErrors never come with a
stack trace, for some reason, so I really have no idea what line of
code may have triggered it.
When I find the time, I'll try to set an raise Exception breakpoint
in Eclipse, although I don't think it'll show much info.
Cheers, Anjo
_______________________________________________
webobjects-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/webobjects-dev
Do not post admin requests to the list. They will be ignored.
_______________________________________________
webobjects-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/webobjects-dev
Do not post admin requests to the list. They will be ignored.