Knowledgebase
Configuring Memory Allocated to FileCatalyst Webmail & Workflow Products
Posted by Chris Kuhlman on 06 December 2012 04:01 PM

All of our FileCatalyst products are installed with default memory limits, including both initial reserve and maximum memory. However, these can be configured to fit your specific needs and environment.  This article will go through the configuration process for each FileCatalyst product for Windows, Linux and Mac.

NOTE:  For all environments:   if you are using a 32-bit Operating System or Java 32-bit, the maximum memory you can define for JAVA is limited to 1.5GB of memory.  64-bit Operating Systems running 64-bit Java do not have such memory limitations. 

It is also recommended (but not required) to set the minimum and the maximum memory to the same value, as this allows JAVA to allocate a single continuous block of the memory from the OS on startup. 

 

 

FileCatalyst Webmail and Workflow 

Windows

When FileCatalyst Webmail or Workflow is installed on a Windows machine, there are two ways to increase the memory used.

The first is to use the tomcat6w.exe which is located in the \apache-tomcat\bin folder in the installation directory. Run tomcat6w.exe as administrator. When the FileCatalyst Workflow Properties popup opens, select the Java tab. Increase Initial and Maximum memory pools as required. We recommend using identical values so the memory block is contiguous.

The second method is to edit your catalina.bat file and add the following line:

set JAVA_OPTS="-Xms1024m -Xmx1024m -XX:NewSize=256m -XX:MaxNewSize=356m -XX:PermSize=256m -XX:MaxPermSize=356m"

Again we recommend using identical values for both Xms and Xmx so your memory block is contiguous.

Linux                                                                                               

When FileCatalyst Webmail or Workflow is installed on a Linux machine, navigate to the apache-tomcat-<version>/bin folder and edit the catalina.sh file. Add the following line:

export JAVA_OPTS="-Xms1024m -Xmx1024m -XX:NewSize=256m -XX:MaxNewSize=356m -XX:PermSize=256m -XX:MaxPermSize=356m"

We recommended that the Xms and Xmx values be identical so your memory block is contiguous.

Mac

When FileCatalyst Webmail or Workflow is installed on a Mac machine, navigate to the apache-tomcat-<version>/bin folder and edit the catalina.sh file. Add the following line:

export JAVA_OPTS="-Xms1024m -Xmx1024m -XX:NewSize=256m -XX:MaxNewSize=356m -XX:PermSize=256m -XX:MaxPermSize=356m"

We recommended that the Xms and Xmx values be identical so your memory block is contiguous.

 

 

CK

(0 vote(s))
Helpful
Not helpful

Comments (0)