Skip to content

Commit 22cb671

Browse files
committed
Added note about GRADLE_OPTS to Readme
1 parent 2bb9fef commit 22cb671

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

README.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,10 @@ To build Grails, clone this GitHub repository and execute the install Gradle tar
2424
git clone https://github.com/grails/grails-core.git
2525
cd grails-core
2626
./gradlew install
27+
28+
If you encounter out of memory errors when trying to run the install target, try adjusting Gradle build settings. For example:
29+
30+
export GRADLE_OPTS="-Xmx2G -Xms2G -XX:NewSize=512m -XX:MaxNewSize=512m -XX:MaxPermSize=1G"
2731

2832
Performing a Release
2933
---

0 commit comments

Comments
 (0)