This documentation supports the 20.02 version of Remedy Deployment.
To view an earlier version, select the version from the Product version menu.

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

    1. Navigate to <Tomcat Install_Directory>/bin directory.
    2. Open the Tomcatxw.exe file.
    3. 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 Open link .

      Example:


    Important

    For OpenJDK 11 use the parameter: -XX:+UseG1GC instead of -XX:+UseConcMarkSweepGC and -XX:+UseParNewGC for the garbage collector.

    1. Navigate to <Tomcat Install_Directory>/bin directory.
    2. Edit the catalina.sh file.
    3. 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 Open link .


    Important

    For OpenJDK 11 use the parameter: -XX:+UseG1GC instead of -XX:+UseConcMarkSweepGC and -XX:+UseParNewGC for the garbage collector.


    Was this page helpful? Yes No Submitting... Thank you

    Comments

    1. Thomas Miskiewicz

      Kindly share an example how to increase the Java heap size in Windows.

      Mar 25, 2021 09:32
      1. Himanshu Raul

        Hi Thomas,

        Thank you for your feedback. I have added an example to the documentation.

        Regards,

        Himanshu

        Mar 31, 2021 11:44
    2. Thomas Miskiewicz

      Thanks. So we should leave Thread stack size empty yea?

      Apr 14, 2021 03:45
      1. Himanshu Raul

        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

        Jun 09, 2021 02:28