manuel.dadda Posted March 9, 2023 Share Posted March 9, 2023 Hi All,I need help with Jasper Server Windows. I am trying to increase the memory from the default -Xms1024m -Xmx2048m to -Xms2048m -Xmx4096m. I edited the file setenv.bat in C:Jaspersoftjasperreports-server-cp-7.8.0apache-tomcatbin but the memory does not change.This is the file:set JAVA_HOME=C:JASPER~1JASPER~1.0javaset JRE_HOME=%JAVA_HOME%REM set JAVA_OPTS= --JvmMs 2048 --JvmMx 4096 --JvmSs 2000 %JAVA_OPTS%set JAVA_OPTS=%JAVA_OPTS% -Xms2048m -Xmx4096mFrom the Catalina log, I see these logs:09-Mar-2023 11:51:46.839 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Xms1024m09-Mar-2023 11:51:46.839 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Xmx2048m09-Mar-2023 11:51:46.839 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Xss2000kDoes anyone face this issue?Thank you very much Link to comment Share on other sites More sharing options...
Raphaël Peguet Posted March 9, 2023 Share Posted March 9, 2023 How do you know it didn't work?In case you haven't found it yet, the direct link to the documentation on setting the JAVA_OPTS is https://community.jaspersoft.com/documentation/tibco-jasperreports-server-community-project-installation-guide/v8/setting-jvm-options Link to comment Share on other sites More sharing options...
Michael Bielkiewicz Posted March 9, 2023 Share Posted March 9, 2023 I would add that you can run the Diagnostics report on your JRS server once it's started up and the memory which is actually set will be displayed in that report. Link to comment Share on other sites More sharing options...
manuel.dadda Posted March 9, 2023 Author Share Posted March 9, 2023 I found the parameters here:Launch the Tomcat configuration application. If you installed the bundled Tomcat, you can do this by going to the <js-install>/apache-tomcat/bin directory and double-clicking the jasperreportsTomcat.exe file. Thank you to all 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