• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: weird weird outofmemory
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: weird weird outofmemory


  • Subject: Re: weird weird outofmemory
  • From: Anjo Krank <email@hidden>
  • Date: Tue, 30 Mar 2004 22:21:43 +0200
  • Xx-reply-to: email@hidden

Am 30.03.2004 um 22:02 schrieb Jonathan Rochkind:

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.

I accidentally handled these errors via ERD2WDirectAction.reportException and not via ERXApplication.handleException, which would have killed the app. Turns out that when the user calls Session.terminate, the problem doesn't show up for some time. I.e. the app stays responsive and can handle other requests just fine.


I have no idea why I'd get these errors in the first place, as I've also got ~ 14MB of free mem left.

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.


References: 
 >weird weird outofmemory (From: Jonathan Rochkind <email@hidden>)
 >Re: weird weird outofmemory (From: Anjo Krank <email@hidden>)
 >Re: weird weird outofmemory (From: Jonathan Rochkind <email@hidden>)

  • Prev by Date: Repetition Question...
  • Next by Date: Re: Repetition Question...
  • Previous by thread: Re: weird weird outofmemory
  • Next by thread: Repetition Question...
  • Index(es):
    • Date
    • Thread