Jump to content
We've recently updated our Privacy Statement, available here ×

Java JVM Options - War installation


samhast

Recommended Posts

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 is
required.
 
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

  • Replies 1
  • Created
  • Last Reply

Top Posters In This Topic

Popular Days

Top Posters In This Topic

We have something like this

export 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

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 account

Sign in

Already have an account? Sign in here.

Sign In Now

×
×
  • Create New...