Grails 3.0.x - how to increase a lot of space when using the "grails run-app"

When I run the "grails run-app" from the command line for the Grails 3.0.1 web application, I always get the maximum heap size of 768M, which seems to be the default hard code in the Grails Gradle plugin.

Settings in JAVA_OPTS or GRAILS_OPTS are not respected.

How can I let the run-app use more heap of space? Is there something to install in application.yaml or build.gradle?

+5
source share
1 answer

This is similar to the trick in build.gradle:

bootRun { jvmArgs = ['-Xmx2048m'] } 
+6
source

All Articles