Configuring the heap size and perm size of Remedy Smart Reporting web server
To onboard multiple tenants in UNIX environments, you must change the heap size and perm size of the Remedy Smart Reporting web server.
To change the heap size and perm size
- Navigate to <Tomcat Install_Directory>/bin directory.
- Open the Tomcatxw.exe file.
- Navigate to Java tab and increase the Java heap size according to your system size. For information on configuration size, see the knowledge article 000232571 .
Example:
Important
For OpenJDK 11 use the parameter: -XX:+UseG1GC instead of -XX:+UseConcMarkSweepGC and -XX:+UseParNewGC for the garbage collector.
- Navigate to <Tomcat Install_Directory>/bin directory.
- Edit the catalina.sh file.
Add the following command to increase the Java heap size and perm size:
JAVA_OPTS=%JAVA_OPTS% -Xms512m –Xmx2048m -XX:PermSize=256m -XX:MaxPermSize=512m -XX:+UseCompressedOops -XX:+UseConcMarkSweepGC -XX:+UseParNewGC -XX:MaxMetaspaceSize=3200m
The preceding command contains sample values of heap size and perm size. You must increase the size according to your system size. For information on configuration size, see the knowledge article 000232571 .
Important
For OpenJDK 11 use the parameter: -XX:+UseG1GC instead of -XX:+UseConcMarkSweepGC and -XX:+UseParNewGC for the garbage collector.
Comments
Kindly share an example how to increase the Java heap size in Windows.
Hi Thomas,
Thank you for your feedback. I have added an example to the documentation.
Regards,
Himanshu
Thanks. So we should leave Thread stack size empty yea?
Hi Thomas,
Thank you for your feedback on the documentation. Yes, we recommend you to leave the Thread stack size field empty.
The Tomcat will pick up the default value for this parameter.
Regards,
Himanshu
Log in or register to comment.