[Bug 565101] Re: walrus reports java.lang.OutOfMemoryError: Java heap space

Thierry Carrez thierry.carrez at ubuntu.com
Wed Apr 21 07:54:28 BST 2010


Java programs have a bad habit of not being able to use "the memory" but
rather preselect an amount of memory usage at JVM startup, which makes
it difficult to have a sane default in packaging. It's the same for
Tomcat, where we explicitly give people the knobs to tune it after the
fact and recommend that they do so.

I'm not sure there is a sane default here... I suspect raising the load
would require you to bump that value again. It's also about minimal
requirements for the Walrus: if we say it can be run on a machine with
1Gb of RAM, then obviously we can't really set the default to more than
-Xmx512m.

So it lokks like a documentation issue ("tune the Walrus memory usage
!"), adding the knob ("setting this value in that file is the way to do
it") and maybe slightly raising the default value so that, by default,
it can handle slightly more load ?

-- 
walrus reports java.lang.OutOfMemoryError: Java heap space
https://bugs.launchpad.net/bugs/565101
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to eucalyptus in ubuntu.



More information about the Ubuntu-server-bugs mailing list