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

Memory Management


  • Subject: Memory Management
  • From: Jeff Schmitz <email@hidden>
  • Date: Mon, 23 Feb 2009 23:13:54 -0600

Hello,
   In my app I frequently need to run operations that  read in nearly all the data in my database.  One I run in the foreground (I have concurrent request handling on), and another I run in the background with its own EOObjectStoreCoordinator.  If I understand how things work (and there's no guarantee of that), that would mean I basically have 4 copies of my database in memory at once (2 ECs and to object stores).  As I use the data in a serial fashion, I was wondering if there's a way to release the EOs that are held in memory in both the EC and the Object Store once I know my each process is through with them, especially for the threaded process that has its own object store?  Is just using ec.reset() at key points the way to go for the ec's?  What about for the object stores?

Thanks,
Jeff
 _______________________________________________
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: Memory Management
      • From: Andrew Lindesay <email@hidden>
    • Re: Memory Management
      • From: Ray Kiddy <email@hidden>
    • Re: Memory Management
      • From: Chuck Hill <email@hidden>
  • Prev by Date: Re: deferrable initially deferred
  • Next by Date: Re: Help with Thread - Long requests
  • Previous by thread: Re: deferrable initially deferred
  • Next by thread: Re: Memory Management
  • Index(es):
    • Date
    • Thread