Page 1 of 1

How to check and set allocated memory for Java ?

Posted: Wed Sep 02, 2015 10:21 am
by antongottlieb
Hello friends,

Recently I installed scalix 12.5.0 community edition, everything is working fine, except SWA, it's working very slow.

I want to check/set allocated memory for Java.


Anton

Re: How to check and set allocated memory for Java ?

Posted: Thu Sep 03, 2015 4:09 am
by ScalixSupport
You may set Memory for JAVA while installing scalix, scalix-installer will ask for the value to be set based on the installed amount of memory (v11 and v12).

OR Value can be adjusted manually, This is defined through -Xmx in scalix-tomcat.conf file.

Example:
# cd /etc/opt/scalix-tomcat/
# pwd
# grep JAVA_ scalix-tomcat.conf
O/P
JAVA_OPTS="-server -Xms1000m -Xmx1000m -Dfile.encoding=UTF-8 -Djava.net.preferIPv4Stack=true"
# vi scalix-tomcat.conf