• 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: java.lang.outofmemory
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

References: 
 >java.lang.outofmemory (From: "Randy Wigginton" <email@hidden>)

  • Prev by Date: Re: Expanding Import
  • Next by Date: Re: Expanding Import
  • Previous by thread: java.lang.outofmemory
  • Next by thread: Re: java.lang.outofmemory
  • Index(es):
    • Date
    • Thread