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

Re: Release memory


  • Subject: Re: Release memory
  • From: Stephane Guyot <email@hidden>
  • Date: Thu, 20 Jan 2005 16:30:52 +0100

Perhaps
you can add : setUndoManager(null) on your editingContext.

If the application doesn't need undo at all, you can avoid any undo overhead by setting the editing context's undo manager to
<x-tad-bigger>null</x-tad-bigger> with setUndoManager.

Have a look at :
http://developer.apple.com/documentation/WebObjects/Reference/API5.2/com/webobjects/eocontrol/concepts/EOEditingContextConcepts.html


Hope this help

Stephane


Le 20 janv. 05, à 12:51, Goh Keng Boon a écrit :

Hi guys,

Currently I got a WO application that involve huge database and I would say the whole design never take "memory" into
consideration, so it is very very memory hungry. I don't have time to get a better design and implement it, so is there any
quick way that i can use to clear my editingcontext, to release the memory?

I'm not sure by invalidate my objects will does the job or not, but i'll need something like this. Thanks.

Regards,
KB

_______________________________________________
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

 _______________________________________________
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: Release memory
      • From: James Seigel <email@hidden>
References: 
 >Release memory (From: Goh Keng Boon <email@hidden>)

  • Prev by Date: RE: I have installed 5.2.3 web objects
  • Next by Date: Re: Release memory
  • Previous by thread: Re: Release memory
  • Next by thread: Re: Release memory
  • Index(es):
    • Date
    • Thread