• 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: WO and Memory Management
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: WO and Memory Management


  • Subject: Re: WO and Memory Management
  • From: email@hidden
  • Date: Fri, 14 Jul 2006 17:33:17 +1200

Hello Owen;

its better to explicitly call System.gc() in WO App's. Whats the rule of thumb here in terms of how often, is there a better spot than others etc etc ?

It is only ever a hint, never a demand. I have resorted to this infrequently.

That's correct, but I think the problem arises that if it does decide to do a full-on garbage collect then it has a tendency to freeze all of the threads for a bit while it does it. This can lead to jittery responses from the application.


Are you actually getting "OutOfMemoryException"-s logged?

cheers.

___
Andrew Lindesay
www.lindesay.co.nz
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


  • Follow-Ups:
    • Re: WO and Memory Management
      • From: Owen McKerrow <email@hidden>
  • Prev by Date: Re: WO and Memory Management
  • Next by Date: Re: WO and Memory Management
  • Previous by thread: Re: WO and Memory Management
  • Next by thread: Re: WO and Memory Management
  • Index(es):
    • Date
    • Thread