Memory Usage

To maximize performance, the project server ensures that only one copy of a record can exist. If necessary, you can adjust the memory available to a project’s Java virtual machine.

There are no configuration settings in the project server that directly set up or control RAM usage on the machine. However, the project server does count records in the system, to ensure that only one copy of a record exists in different streams. Memory usage is directly proportional to the number of records stored in the project.

In addition, each ESP project launches a Java virtual machine (JVM), which runs any Java UDFs or Java internal adapters associated with the project. Memory available to the JVM is controlled by the java-max-heap option in the Deployment section of the project configuration (CCR) file; the default value is 256 MB.

If your project triggers Java out-of-memory errors, increase the heap size for the project’s JVM. For example:

<Option name="java-max-heap" value="512"/>
The CCR file resides in the local (Studio) cluster; the default location is
<user's-home-dir>/SybaseESP/5.1/workspace/<projectname>/<project-name>.ccr