A newly generated Grails project does not correctly set the JVM argument -Xmx1024M. Therefore it defaults to 512MB instead of 1GB, causing an OutOfMemoryError on projects that need more memory to build.
Steps to Reproduce
Create a new Grails 6.0.0 project with grails create-app new
Description
A newly generated Grails project does not correctly set the JVM argument
-Xmx1024M
. Therefore it defaults to 512MB instead of 1GB, causing anOutOfMemoryError
on projects that need more memory to build.Steps to Reproduce
grails create-app new
Expected Behaviour
The
gradle.properties
file should contain:Actual Behaviour
In
gradle.properties
the wrong property is set:Note the uppercase 'A'.