Hi all,

I had a few server crashes with this in the log:

"Exception in thread "ajp-bio-8009-exec-368" java.lang.OutOfMemoryError: 
Java heap space"

So went looking and found some JVM memory tuning for the setenv.sh file. I 
believe I have
things working, but was wondering if there are any suggestions on other 
settings that I should
take a look at.

I moved the initial and max heap size up, and upped the "PermSize" ... 
though I'm not sure what
exactly that is. Also set the parallel garbage collection. So my setenv.sh 
file looks like this now:

JAVA_OPTS="-Xms512m -Xmx1024m -XX:MaxPermSize=192m -XX:PermSize=192m 
-XX:+UseParallelGC ";

The physical memory on the server is 2G right now - so I thought that half 
that should be fine.

Again, this is mostly for anyone that had thoughts or suggestions. I'm not 
really that well versed
in JVM settings and such. I did read some where that I should set the 
garbage collection interval
with "-Dsun.rmi.dgc.server.gcInterval=600000" but I did not mess with that 
right now. Is that something
I should add to the setenv.sh file? Anything glaringly wrong with what I 
have? Any suggestions
on settings I should add? Also, noticed there is a blank space at the end 
of the args and before the
closing quote ... left it there as I wasn't sure if it was required or not 
lol.

Many Thanks,
Alan

-- 
online documentation: http://openbd.org/manual/
 http://groups.google.com/group/openbd?hl=en

Reply via email to