# GroovyForkOptions

API Documentation: | `GroovyForkOptions`

Fork options for Groovy compilation. Only take effect if `GroovyCompileOptions.fork` is `true`.

### Properties

Property | Description
`allJvmArgs` | Incubating The full set of arguments to use to launch the JVM for the compiler process. This includes arguments to define system properties, the minimum/maximum heap size, and the bootstrap classpath.
`jvmArgs` | Returns any additional JVM arguments for the compiler process. Defaults to the empty list.
`jvmArgumentProviders` | Incubating Returns any additional JVM argument providers for the compiler process.
`memoryInitialSize` | The initial heap size for the compiler process. Defaults to `null`, in which case the JVM's default will be used.
`memoryMaximumSize` | The maximum heap size for the compiler process. Defaults to `null`, in which case the JVM's default will be used.

### Methods

No methods

### Script blocks

No script blocks

### Property details

#### ``Provider`<`List`<`String`>>` `allJvmArgs`

Note: This property is incubating and may change in a future version of Gradle.

The full set of arguments to use to launch the JVM for the compiler process. This includes arguments to define system properties, the minimum/maximum heap size, and the bootstrap classpath.

Default:
  `[]`

#### ``ListProperty`<`String`>` `jvmArgs`

Returns any additional JVM arguments for the compiler process. Defaults to the empty list.

Default:
  `[]`

#### ``ListProperty`<`CommandLineArgumentProvider`>` `jvmArgumentProviders`

Note: This property is incubating and may change in a future version of Gradle.

Returns any additional JVM argument providers for the compiler process.

Default:
  `[]`

#### ``Property`<`String`>` `memoryInitialSize`

The initial heap size for the compiler process. Defaults to `null`, in which case the JVM's default will be used.

Default:
  `null`

#### ``Property`<`String`>` `memoryMaximumSize`

The maximum heap size for the compiler process. Defaults to `null`, in which case the JVM's default will be used.

Default:
  `null`