How to check and set allocated memory for Java ?

Discuss the Scalix Server software
antongottlieb
Posts: 28
Joined: Mon Apr 27, 2015 3:51 am

How to check and set allocated memory for Java ?

Postby antongottlieb » Wed Sep 02, 2015 10:21 am

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

ScalixSupport
Scalix
Scalix
Posts: 5486
Joined: Thu Mar 25, 2004 8:15 pm

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

Postby ScalixSupport » Thu Sep 03, 2015 4:09 am

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


Return to “Scalix Server”



Who is online

Users browsing this forum: No registered users and 1 guest