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:\Jaspersoft\jasperreports-server-cp-7.8.0\apache-tomcat\bin but the memory does not change.
This is the file:
set JAVA_HOME=C:\JASPER~1\JASPER~1.0\java
set JRE_HOME=%JAVA_HOME%
REM set JAVA_OPTS= --JvmMs 2048 --JvmMx 4096 --JvmSs 2000 %JAVA_OPTS%
set JAVA_OPTS=%JAVA_OPTS% -Xms2048m -Xmx4096m
From 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: -Xms1024m
09-Mar-2023 11:51:46.839 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Xmx2048m
09-Mar-2023 11:51:46.839 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Xss2000k
Does anyone face this issue?
Thank you very much
3 Answers:
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