1. Go to ManageEngine-10510_Postgres\ServiceDeskPlus-MSP\bin and edit run.sh
2. Increase the below entries based on the RAM
JAVA_OPTS="$JAVA_OPTS -Xms128m -Xmx1024m -XX:PermSize=64m -XX:MaxPermSize=256m
- For 32 bit, the maximum is 1 GB (1024)
JAVA_OPTS="$JAVA_OPTS -Xms512m -Xmx1024m -XX:PermSize=64m -XX:MaxPermSize=256m
- For 64 bit, you can set it based on the RAM size. For example, if the RAM is 8 GB and 4 GB is available, then you can set the minimum to 1 GB and the maximum to 3 GB. You can also increase the perm size as 256 to 512
JAVA_OPTS="$JAVA_OPTS -Xms1024m -Xmx3072m -XX:PermSize=256m -XX:MaxPermSize=512m