Official Content

Specifies additional parameters that can be passed to Gradle (the build system used to compile Java).

Scope

Generators: Java
Level: Generator

Description

By default, it has the following command:

-Dorg.gradle.jvmargs=-Xmx$(ALLOC_SIZE)m

Where: 

  • -Dorg.gradle.jvmargs=<arguments> indicates the JVM arguments to be used by the daemon process. Possible arguments can be found in the Java documentation.
  • $(ALLOC_SIZE) takes the value 1024, representing the maximum amount of memory that can be allocated to the process.

To disable the Gradle daemon and prevent the compilation process from running after GeneXus finishes, you can add the --no-daemon option. Note that the daemon is enabled by default. 

See Gradle documentation for more information.

Runtime/Design time

This property applies only at design time.

How to apply changes

No action is required to apply the corresponding changes when the property value is configured.

Availability

This property is available since GeneXus 18 Upgrade 3.

See Also

Gradle and the Java Generator

Last update: April 2024 | © GeneXus. All rights reserved. GeneXus Powered by Globant