The following parameters may be passed when performing the build and control the behavior of the Java runtime used by the build scripts. They should be passed in the following way build server -Djava.fork=true. These settings are:
Parameter |
Values |
Description |
---|---|---|
java.fork |
true false |
Specifies whether any external classes are executed in another VM. The default is true. |
java.maxmemory |
Number |
The maximum size of the memory to allocate to the forked VM. The default is 768m. |
java.failonerror |
true false |
Specifies whether the build process should be stopped if an external java command exits with a return code other than 0. The default is true. |
java.jvmargs |
String |
Specifies the arguments to pass to the forked VM The default is the empty string. |