Jump to content
Changes to the Jaspersoft community edition download ×

Cannot Increase Memory Jasper Server


manuel.dadda

Recommended Posts

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.0java
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

Link to comment
Share on other sites

  • Replies 3
  • Created
  • Last Reply

Top Posters In This Topic

Popular Days

Top Posters In This Topic

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

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