Re: Release memory
Re: Release memory
- Subject: Re: Release memory
- From: Doug Andrews <email@hidden>
- Date: Thu, 20 Jan 2005 09:00:49 -0500
myContext.dispose();
At this point, the editing context variable myContext can not be used,
so make sure you set myContext to a new EditingContext if you're not
done with it yet.
Also, if you can get away with reading in data as raw rows instead of
EO's, you will lose the functionality of EO's but save a ton of memory.
On Jan 20, 2005, at 6:51 AM, Goh Keng Boon wrote:
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:
email@hidden
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