Tune memory settings for application processes

If a particular process is running slowly, you can increase the amount of memory available to it by tuning a set of memory parameters. It is possible that the additional memory allocation can improve the process performance. Use the following table to identify the parameters that you can change in file gradle.properties, in the PolicyCenter installation directory.

Property

Description

Possible values

Default values

custDistGosuCompileMaxHeapSize

Maximum heap size for the JVM that performs Gosu compilation.

The number of gigabytes, followed by the letter g.

16g

custDistGosuCompileMinHeapSize

Minimum heap size for the JVM that performs Gosu compilation.

The number of gigabytes, followed by the letter g.

2g

custDistGosudocMaxHeapSize

Maximum heap size for the JVM that performs Gosudoc generation.

The number of gigabytes, followed by the letter g.

16g

custDistGosudocMinHeapSize

Minimum heap size for the JVM that performs Gosudoc generation.

The number of gigabytes, followed by the letter g.

2g

custDistJavaCompileMaxHeapSize

Maximum heap size for the JVM that performs Java compilation.

The number of gigabytes, followed by the letter g.

16g

custDistJavaCompileMinHeapSize

Minimum heap size for the JVM that performs Java compilation.

The number of gigabytes, followed by the letter g.

4g

custDistJavaCompileSchemaSourcesMaxHeapSize

Maximum heap size for the JVM that performs compilation of XML schema generated source for the task genSchemaJar.

The number of gigabytes, followed by the letter g.

16g

custDistJavaCompileSchemaSourcesMinHeapSize

Minimum heap size for the JVM that performs compilation of XML schema generated source for the task genSchemaJar.

The number of gigabytes, followed by the letter g.

4g

custDistJavaExecMaxHeapSize

Maximum heap size for all of the tasks that run in a separate JVM, such as genDataDictionary.

The number of gigabytes, followed by the letter g.

4g

custDistStudioMaxHeapSize

The maximum amount of memory available to Guidewire Studio.

The number of gigabytes, followed by the letter g.

4g

custDistStudioBuildProcessHeapSize

The initial default value for the Build process heap size setting in the Guidewire Studio Settings dialog. After you run Studio for the first time, PolicyCenter ignores this property.

The number of megabytes.

6000

org.gradle.jvmargs

Minimum and maximum heap sizes for the JVM that runs the remaining tasks, such as codegen.

Minimum: -Xms, followed by the number of gigabytes, followed by the letter g.

Maximum: -Xmx, followed by the number of gigabytes, followed by the letter g.

-Xms1g

-Xmx4g