Tuning Applications with JVM Settings
JVM settings are covered in more detail in the section on JVM Tuning. Also the section on the
dr command (
Command Line Usage: dr) covers how to set JVM options when executing a DataFlow application from the command line. See those sections for more information.
The most common JVM issue is memory usage. You can specify the amount of memory to use within the JVM by using two command line options:
• -Xms to set the minimum amount of memory to allocate
• -Xmx to set the maximum amount of memory to allocate
In most cases, you will want to set these to the same value to prevent the overhead of incrementally increasing memory allocations.