6. Working with large data

In case of working with large projects that span on multiple years and have many activities, the amount of data that RationalPlan Project Server handles can increase significantly so that the memory that is needed for such data must also be increased.

Given the fact that RationalPlan Project Server is running as an application within Tomcat we need to increase the memory for Tomcat server. Since RationalPlan is developed in Java and running within a Java Virtual Machine we need to change certain Java memory options for Tomcat: the heap memory and the stack memory.

There are two possible ways to accomplish this:

  1. Running Tomcat as an application started manually

    For this you have to change the setenv.sh (or setenv.bat for Windows) script in the bin/ directory under the INSTALL_DIR. Basically you should add a line that looks like this:

    export JAVA_OPTS="$JAVA_OPTS -Xss5M -Xmx500M" (Unix)

    set JAVA_OPTS=%JAVA_OPTS% -Xss5M -Xmx500M (Windows)

  2. Running Tomcat as a service on Windows

    To run it as a service we are assuming that you used the Windows executable installer when you have installed Tomcat.

    You need to start the Configure Tomcat application. On the Java tab in the window that appears you have to set the Maximum memory pool to value 500 (that is 500MB) and the Thread stack size to value 5120 (that is 5120 KB or equivalently 5MB).