samhast Posted July 16, 2013 Share Posted July 16, 2013 I succesfully installed the WAR installation for Jasperserver.But now there is one line in the manual that I don't understand: Set Java JVM Options, as described in 6.2, “Setting JVM Options for Application Servers,” on page 43. This step isrequired. I tried it, but I don't know how to do it.. Can someone explain me which lines I have to add..I have tomcat6 installed and java-6-openjdk on a Ubuntu 10.04 server Link to comment Share on other sites More sharing options...
waalp Posted July 16, 2013 Share Posted July 16, 2013 We have something like thisexport JAVA_OPTS="$JAVA_OPTS -Xms2048m -Xmx4096m -XX:PermSize=512m -XX:MaxPermSize=256m -Xss2m -XX:+UseConcMarkSweepGC -XX:+CMSClassUnloadingEnabled"[/code]in the setenv.sh, wich is located in the bin directory of your tomcat installation. If it doesn't exist, you should create it.These values are from my local test installation. For production purposes you should proberly use some other values for the memory. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now