• 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
Memory management
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Memory management


  • Subject: Memory management
  • From: "Richard Bruch" <email@hidden>
  • Date: Tue, 16 Mar 2004 19:09:31 +0100

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 ?

Thanks

Richard
_______________________________________________
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.


  • Follow-Ups:
    • Re: Memory management (streaming large fetches)
      • From: Ben Trumbull <email@hidden>
    • Re: Memory management
      • From: Arturo PĂ©rez <email@hidden>
  • Prev by Date: Editing Context Question
  • Next by Date: Re: Editing Context Question
  • Previous by thread: Re: Editing Context Question
  • Next by thread: Re: Memory management
  • Index(es):
    • Date
    • Thread