Issue:
[toc on_off::hide=1]
Normally, you can change the JVM options using JAVA_OPTS. For example:
set JAVA_OPTS=-Xms512m -Xmx2048m -XX:PermSize=32m -XX:MaxPermSize=128m
If the setting does not seem to go into effect, consider the following suggestion.
Resolution:
Your JasperReports Server may be started as a Windows service.
Refer to the JasperReports Server Installation Guide chapter on Changing JVM Options for Bundled Tomcat as a Windows Service (v5.1 - other versions may be available in our Docs).
As of release 4.0, the Windows installer binary installs the bundled Tomcat application as a Windows Service by default.
The steps to change JVM options are:
Navigate to this directory: cd <js-install>/apache-tomcat/bin
Open service.bat for editing.
Look for the following line to change the JVM heap size, for example:
Update this line to increase the maximum heap size from 1536M to 2048M, for example: -Xmx2048M
Because Tomcat is installed as a service, you need to re-install the service. From a Windows Command Prompt, enter these commands:
cd <js-install>apache-tomcatscripts serviceinstall.bat REMOVE serviceinstall.bat INSTALL
After running these commands in Windows XP, for example, the cmd shell closes after the commands are executed. The Tomcat service is removed and then installed. After execution of the commands, the service is running.
Stop and restart PostgreSQL and Tomcat after completing this work as described in the JasperReports Server Installation Guide chapter on Starting and Stopping JasperReports Server.
Ref. Case #00024859 -- 23:36, 12 March 2012 (UTC)
Recommended Comments
There are no comments to display.
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