Skip to end of metadata
Go to start of metadata

The parts of Jitterbit that are implemented in Java (currently LDAP and JDBC) run in Tomcat which requires a Java Virtual Machine. The default maximum heap size of the JVM may not be enough for you in which case you will get an error including something like:

Java heap space Cause stack trace: java.lang.OutOfMemoryError: Java heap space

Note: You can get this error on the client too but this FAQ only refers to the server maximum heap size.

Increasing the maximum heap space could also boost performance if you are reading or writing large JDBC data sets since it decreases the need for garbage collection in the JVM.

Let's say you want to increase the maximum heap size to 512 MB. This is how you would do it:

  1. Windows
    1. To set it globally for all Java applications:
      1. Open the Java Control Panel (Start -> Control Panel -> Java).
      2. Select the Java tab.
      3. View the Java Runtime Environment Settings.
      4. Add -Xmx512m to the Runtime parameters.
      5. Restart the Jitterbit Apache service.
    2. To set it only for the Jitterbit Tomcat instance: 
      1. Start the Registry Editor (Start -> Run... then type regedt32).
      2. Browse to HKEY_LOCAL_MACHINE\SOFTWARE\Apache Software Foundation\Procrun 2.0\Jitterbit Tomcat Server\Parameters\Java
      3. Double click on Options and add -Xmx512m to the end of the existing values on its own line. If there already is such a value, then change it to what you want.
      4. Restart the Jitterbit Apache service.
  2. Linux 
    1. Open the file /etc/sysconfig/jitterbit in you favorite text editor.
    2. Add the following to the end of that file:
      1. JAVA_OPTS=-Xmx512m
      2. export JAVA_OPTS
      3. Restart the Jitterbit tomcat service:
        1. /etc/init.d/jitterbit stop_tomcat
        2. /etc/init.d/jitterbit start_tomcat
      4. Or restart all the Jitterbit services:
        1. /etc/init.d/jitterbit rest
Related Topics

Last updated:  May 13, 2018