java.lang.outofmemory
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