Increase Absolute Service (Tomcat) Memory/RAM

Version 1


    The performance can be improved by increasing the memory since Tomcat/LiveTime uses a maximum pool of 2GB memory/RAM by default.

    This article will go over the memory increase from 2GB to 4GB RAM.

    Recommended Pre-requisite:

    • Minimum of 6GB memory in the server.
    • Database is stored in a different server.


    Important Note: Do not make maximum memory pool same as server memory. Remember to leave enough memory for the operating system and other resources.

    On Windows:
  • Stop LiveTime
  • Rename tomcat7w.exe to HEATsoftwareService.exe in C:\Program Files\LiveTime\Server\bin.
  • Open HEATsoftwareService.exe.
  • Go to Java tab and increase Maximum memory pool value (e.g. Try 4096 which will set to 4GB).
  • Click Okay.
  • Start LiveTime

    On Linux:
  • Stop LiveTime.
  • Open/Edit from LiveTime/Server/bin
  • Replace the following line from

    JAVA_OPTS="-server -d64 -XX:MaxPermSize=256m -Xms256m -Xmx2048m -Djava.awt.headless=true -XX:+UseCompressedOops -XX:+UseConcMarkSweepGC -XX:+CMSIncrementalMode -XX:+CMSIncrementalPacing -XX:CMSIncrementalDutyCycleMin=0 -XX:CMSIncrementalDutyCycle=10 -XX:+UseParNewGC -XX:+CMSClassUnloadingEnabled -XX:MaxGCPauseMillis=250 -XX:MaxGCMinorPauseMillis=100"


    JAVA_OPTS="-server -d64 -XX:MaxPermSize=256m -Xms256m -Xmx4096m -Djava.awt.headless=true -XX:+UseCompressedOops -XX:+UseConcMarkSweepGC -XX:+CMSIncrementalMode -XX:+CMSIncrementalPacing -XX:CMSIncrementalDutyCycleMin=0 -XX:CMSIncrementalDutyCycle=10 -XX:+UseParNewGC -XX:+CMSClassUnloadingEnabled -XX:MaxGCPauseMillis=250 -XX:MaxGCMinorPauseMillis=100"

  • Save and Close.
  • Start LiveTime.