Please note, that if you are on 3.9.5 or newer, you do not need to do this step. This is only for v.3.9.4 and earlier, as the newer versions have Java 64 bit built in. If you are on an earlier version of Chronicall, and would like to upgrade to 64 bit Java, you can follow this article to upgrade Java to 64 bit. This allows you to allocate more than 1024 MB of memory.
In Windows, the default path for the configuration file is C:\Program Files (x86)\Xima Software\Chronicall\tomcat\bin\ (for 3.95 and newer, the path has been updated to c:\program files (x86)\Xima Software\Chronicall\bin\apps\ChronicallServerw.exe fpr new installs, updates are still on the same path). Right-click and run chronicallw.exe (or ChronicallServerw.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.
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.
(Enter your password here)
service chronicall stop
cd /var/lib/Xima\ Software/Chronicall/tomcat/bin
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"
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.