Versions Compared

Key

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

...

You should increase the Java heap space if JobScheduler reports out of memory Java exceptions (java heap space). The message in the log file looks like followthis:

Code Block
 Com_set_error("Z-JAVA-105 Java exception java.lang.OutOfMemoryError("Java heap space"),
 method=spooler_process()Z []","Remote_module_instance_server::step)

There are two ways for increasing how to increase the available Java heap space. You can do it for only one job separately achieve this for individual jobs or you can apply the increment for all jobs.

Please note:

  • If you increase the initial heap space (-Xms) for all jobs you could run into memory troubles if you are running to much Java tasks at one time.
  • In most cases it is

...

  • sufficient to apply just a maximum Java heap space with -Xmx.

Increment for only one

...

job using Java

If you want to increase the heap space for only one Job job you can do it in this by the job configuration: , see http://www.sos-berlin.com/doc/en/scheduler.doc/xml/job.xml#attribute_java_options

Code Block
 <job java_options = "-Xmx512m"/>

Increment for all

...

jobs using Java

You can increase the maximum Java heap space (set by the JobScheduler when starting the Java VMJVM) within the configuration file sos.ini, for example:

Code Block
 [java] 
 options = -Xmx512m 

You can also set add more Java options. For example you can set the initial and maximum Java heap space with:

Code Block
 [java] 
 options = -Xms128 -Xmx512m 

See also

  • For possible

...

  • JVM options please see

...