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

java.lang.outofmemory


  • Subject: java.lang.outofmemory
  • From: "Randy Wigginton" <email@hidden>
  • Date: Tue, 7 Mar 2006 17:10:12 -0500

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

  • Follow-Ups:
    • Re: java.lang.outofmemory
      • From: Robert Walker <email@hidden>
    • Re: java.lang.outofmemory
      • From: Jacky Gagnon <email@hidden>
    • Re: java.lang.outofmemory
      • From: "Tanmoy Roy" <email@hidden>
  • Prev by Date: Expanding Import
  • Next by Date: Re: Expanding Import
  • Previous by thread: Re: Expanding Import
  • Next by thread: Re: java.lang.outofmemory
  • Index(es):
    • Date
    • Thread