Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

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 including , possibly something likesuch as:

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 Private Agent maximum heap size.

Increasing the maximum heap space could 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.

Let's say If you want to increase the maximum heap size to 512 MB. This is how you would do it, 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
      1.  to the Runtime parameters for the JVM for the x86 architecture.
      2. 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
      1.  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.
      1.  
      2. Restart the Jitterbit Apache service.
  • Linux 
    1. Open the file /etc/sysconfig/jitterbit
in you favorite
    1.  in a text editor.
Add the following to the end of that file:
    1. Find this line in that file, and edit the options:

      Code Block
      languagebash
      export JAVA_OPTS="-
Xmx512mexport JAVA_OPTS
    1. Xms512m -Xmx1024m"
    2. Either:
      • Restart the Jitterbit tomcat service:

        Code Block
        languagebash
        $ /etc/init.d/jitterbit stop_tomcat
      • 
        $ /etc/init.d/jitterbit start_tomcat
Or restart
      • or

      • Restart all the Jitterbit services:

        Code Block
        languagebash
        $ /etc/init.d/jitterbit
rest
      •  restart
Panel
borderColor#00B886
titleColor#FFFFFF
titleBGColor#00B886
titleRelated Topics

HideElements
metastrue

Last updated: 

Lastmodifieddate