Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

gradle.properties contains org.gradle.jvmArgs instead of org.gradle.jvmargs #205

Closed
matthijsbierman opened this issue Oct 7, 2023 · 1 comment · Fixed by #206
Closed

Comments

@matthijsbierman
Copy link
Contributor

Description

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

  1. Create a new Grails 6.0.0 project with grails create-app new

Expected Behaviour

The gradle.properties file should contain:

org.gradle.jvmargs=-Dfile.encoding=UTF-8 -Xmx1024M

Actual Behaviour

In gradle.properties the wrong property is set:

org.gradle.jvmArgs=-Dfile.encoding=UTF-8 -Xmx1024M

Note the uppercase 'A'.

matthijsbierman added a commit to matthijsbierman/grails-forge that referenced this issue Oct 7, 2023
@matthijsbierman
Copy link
Contributor Author

puneetbehl added a commit that referenced this issue Oct 18, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant