Java using > 1GB of Memory

 
Author
Message
SysAider
1
 
Java is using over 1GB of memory on our Sysaid server (version 16.3.16 b9) and we must restart the service 1-2 times per day to get it to reset. Any ideas on what could be causing this?
SysAid Community Manager Product Team
4658
 
Hi Basilio,

Please try:
a) Upgrading to the latest version of SysAid
b) Exclude SysAid from antivirus scans
c) Make sure enough memory is given to SysAid in wrapper.conf, and that the machine has that memory:
To allocate more memory, please follow these instructions:
In order to allocate more memory to SysAid Server, please edit (and make a backup) ..\SysAidServer\conf\wrapper.conf.


Make sure that you change the chronological numbers. for example if the file looks like that:

wrapper.java.additional.1=-Dcatalina.home=./tomcat
wrapper.java.additional.2=-Djava.io.tmpdir=./tomcat/temp
wrapper.java.additional.4="-Xss256k"
wrapper.java.additional.5=-XX:MaxPermSize=320m
wrapper.java.additional.6=-XX:PermSize=128m

You will need to move back all indexes starting from 4:

wrapper.java.additional.1=-Dcatalina.home=./tomcat
wrapper.java.additional.2=-Djava.io.tmpdir=./tomcat/temp
wrapper.java.additional.3="-Xss256k"
wrapper.java.additional.4=-XX:MaxPermSize=320m
wrapper.java.additional.5=-XX:PermSize=128m
The parameter you want to change is -XX:MaxPermSize=320m.

You also need to update # Maximum Java Heap Size (in MB)
wrapper.java.maxmemory= to:
# Maximum Java Heap Size (in MB)
wrapper.java.maxmemory=1280

The amount of mega bytes you provide in the MaxPermSize shouldn't be NO MORE the quarter the the total amount of the JavaHeapSpace (wrapper.java.maxmemory=). Meaning, in this exapmle, the JavaHeapSpace was increased to 1280MB, and MaxPermSize is 320, a quarter of 1280.

d) Check timers and escalation rules for correct configuration.

Cheers,
Danny