Re: Release memory
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