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 Apache 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, possibly something such as:

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

Note: You can get this error on the client, but this FAQ only refers to the Local Agent maximum heap size.

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

If you want to increase the maximum heap size, you do so by editing the JVM settings. If there already is a value, then adjust as appropriate, as described here for each operating system:

  • Windows
    • 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 for the JVM for the x86 architecture.
      5. Restart the Jitterbit Apache service.
    • 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. 
      4. Restart the Jitterbit Apache service.
  • Linux 
    1. Open the file /etc/sysconfig/jitterbit in a text editor.
    2. Find this line in that file, and edit the options:

      export JAVA_OPTS="-Xms512m -Xmx1024m"
    3. Either:
      • Restart the Jitterbit tomcat service:

        $ /etc/init.d/jitterbit stop_tomcat
        $ /etc/init.d/jitterbit start_tomcat

        or

      • Restart all the Jitterbit services:

        $ /etc/init.d/jitterbit restart
Related Topics

Last updated:  Jun 22, 2018