Re: Memory management
Re: Memory management
- Subject: Re: Memory management
- From: Arturo PĂ©rez <email@hidden>
- Date: Tue, 16 Mar 2004 13:26:57 -0500
On Mar 16, 2004, at 1:09 PM, Richard Bruch wrote:
Hi all,
a Java question to the smartest Java community in the world.
WO allows to quickly build HTML interface to a database so it seems
reasonable
to use it to execute flexible data exports(XML or plain text for
example).
However with Java(unlike C) it is not quite trivial if the
tables(queries) are
large. I tried to export a subset of a large table using raw sql
EOAdaptorChannel methods. Even in that rather inexpensive case the
memory
consumption after just 300 000 rows reaches 1 GB which is hardly
acceptable.
Is there a means to deallocate memory(in this case the dictionaries
returned
by EOAdaptorChannel.fetchRow()) in some predictable way or to force the
virtual machine to reclaim garbage ?
Or should i rather forget doing such things in Java ?
We used to do that sort of thing all the time with Java/JDBC. So it's
probably not a java issue.
Can you be more specific as to what you're doing? Are you asking
what's the best way to clear out the EOF snapshots etc?
----
WO in philadelphia - wanna cheesesteak with that?
Please visit webobjects.meetup.com.
_______________________________________________
webobjects-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/webobjects-dev
Do not post admin requests to the list. They will be ignored.