Follow

Increasing Java Memory Limits

Chronicall Server

Windows

In Windows, the default path for the configuration file is C:\Program Files (x86)\Xima Software\Chronicall\tomcat\bin\. Right-click and run chronicallw.exe as Administrator, then click the Java tab. Java's initial memory pool and maximum memory pool are listed at the bottom.

Chronicall have a maximum memory pool value of 1024 MB. Be sure your server has the resources to allow that memory usage before making that change. Before your changes will take effect, you will need to restart the Chronicall service. See Stopping and Starting Chronicall Services for instructions.

Linux

To increase Java's memory limit on a Linux Chronicall server we need to edit setenv.sh in the tomcat/bin folder.

If you have not made any prior modifications, simply open a command terminal and enter the following. Please note that this will stop and restart the Chronicall service.

su root
(Enter your password here)
service chronicall stop
cd /var/lib/Xima\ Software/Chronicall/tomcat/bin
wget ftp://media.ximasoftware.com/ChronicallLinux/setenv.sh
chmod +x setenv.sh
service chronicall start

If you have made prior modiifcations such as alternate Java JRE, then add the following line to setenv.sh

export JAVA_OPTS="$JAVA_OPTS -Xms512m -Xmx512m"

Modify the "512m" as needed, such as the following
export JAVA_OPTS="$JAVA_OPTS -Xms256m -Xmx1024m"

Web Client

If you experience performance issues while using the Chronicall web client, you may be able to solve them by allowing Java to use more RAM. To do so, navigate to Java in the Control Panel. Under the Java tab, click View. Your current version of Java will be listed in the Java Runtime Environment Settings window. Double-click the Runtime Parameters field and enter -Xmx400m. You can replace 400 with the number of megabytes you want Java to be able to use. Click OK to save your changes. Before your changes will take effect, you will need to restart your web browser.

 

Was this article helpful?
3 out of 4 found this helpful
Have more questions? Submit a request
Powered by Zendesk