• 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: 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.


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

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