• 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: Out of memory
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Out of memory


  • Subject: Re: Out of memory
  • From: Mike Schrag <email@hidden>
  • Date: Fri, 30 Nov 2007 07:00:07 -0500

Just to clarify: if we use an ERXEC for a temporary job and no longer need the EC afterwards we should explicitly dispose() it to mark it for the GC ? Otherwise it will stick around forever ?
No, it's attached to a thread local which gets cleaned up at the end of the RR loop (or when your thread dies). This is only really an issue in an example like Miguel's where he's recycling EC's because he's doing lots of EO creation. In that case, it's probably a good idea to manually dispose regardless.

_______________________________________________
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


References: 
 >Out of memory (From: Miguel Arroz <email@hidden>)
 >Re: Out of memory (From: Chuck Hill <email@hidden>)
 >Re: Out of memory (From: Miguel Arroz <email@hidden>)
 >Re: Out of memory (From: Mike Schrag <email@hidden>)
 >Re: Out of memory (From: Simon McLean <email@hidden>)

  • Prev by Date: Re: EO lastModifiedTS @ validateForUpdate?
  • Next by Date: Re: Out of memory
  • Previous by thread: Re: Out of memory
  • Next by thread: Re: Out of memory
  • Index(es):
    • Date
    • Thread