The first HQL query I ran a recieved an permSpace memory error. Not a huge deal but if your not used to the locations of the jvm settings it can be a bit of a challenge. PermSize was set to 64mb on the standard install which was a little to low.
The locations of the files for a standard install are:
/opt/railo/tomcat/bin
in: setenv.sh
I changed my settings to look like this:
-Xms128m -Xmx512m -XX:+CMSIncrementalMode -XX:+ExplicitGCInvokesConcurrent -XX:+CMSPermGenSweepingEnabled -XX:+CMSClassUnloadingEnabled -XX:MaxPermSize=384m -XX:PermSize=384m -XX:+UseConcMarkSweepGC
Part of this was from Kai's example's which can be found here: http://t.co/aShOtpM
I have less RAM to work with so my settings are smaller.
my setenv.sh file looks like:
/etc/init.d/railo_ctl restart
My application continued to run as expected.

0 comments:
Post a Comment