[jdom-interest] Java heap space error, please help.

Hielke Hoeve hielke.hoeve at gmail.com
Tue May 22 10:50:30 PDT 2007

On 22/05/07, Jason Hunter <jhunter at servlets.com> wrote:
> What do you mean that you increased virtual memory?  In Java the best
> thing to do is increase the heap size.
> java -Xms128m -Xmx512m Foo
> Maybe you have more than 512M to throw at the problem.  If that doesn't
> work, then you can change your code to write elements at a time and let
> them GC so you won't run out of memory.  You just need to do a little
> manual work for the root element wrapper.

He will probably need more if it's a very large database. Oracle can
go crazy on it's database size.


More information about the jdom-interest mailing list