Re: java.lang.outofmemory
Re: java.lang.outofmemory
- Subject: Re: java.lang.outofmemory
- From: "Tanmoy Roy" <email@hidden>
- Date: Tue, 7 Mar 2006 14:34:07 -0800
You can increase the memory in the Monitor setup as well as in the
Application where you can add some more memory in the Java Heap which
will help in the memory management.
On 3/7/06, Randy Wigginton <email@hidden> wrote:
>
>
>
> Hello,
>
> My program loads a great deal of data from the database. I process it, then
> attempt to "free" the memory. My code looks vaguely like this:
>
> For (all objects) {
>
> EOEditingContext tmp = new EOEditingContext();
>
> <load objects from tmp with a fetch specification>
>
>
>
> tmp.invalidateAllObjects();
>
> tmp = null;
>
> System.gc();
>
> }
>
>
>
> Even with this, I'm running out of memory. Any hints on making EO throw
> away everything it knows about?
>
>
> _______________________________________________
> 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
>
>
--
Best,
Tanmoy
_______________________________________________
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