A.1 Configuring the Maximum Heap Memory Size for ZENworks Service Desk

To configure the maximum heap memory size for ZENworks Service Desk, perform the following:

  1. Stop the Service Desk service.

  2. Edit the following line in the servicedesk.server (Location: /etc/init.d):

    • CATALINA_OPTS="-XX:MaxMetaspaceSize=256m -Xms256m -Xmx2048m -Djava.awt.headless=true"

      Change the Maximum memory pool(Xmx) from -Xmx2048m to -Xmx<desired memory in MB>m. For example, -Xmx4096m to configure 4GB.

    • Optionally, you can also increase initial memory pool (Xms) from –Xms256m to -Xms512m for additional performance benefit.

    NOTE:Ensure that you reserve enough RAM for the operating system and other processes such as PostgreSQL (in case of internal database) and Appliance web console.

  3. Save the changes and start the Service Desk service.

NOTE:If you are upgrading ZENworks Service Desk, then the changes made to the servicedesk.server file will be lost. Ensure that you replicate the same changes in the file after upgrading Service Desk.