Grails 3.0.x - how to increase heap space when using "grails run-app" -
when executing "grails run-app" command line grails 3.0.1 web application, maximum heap size of 768m, seems hardcoded default in grails gradle plugin.
the settings in java_opts or grails_opts not respected.
how can let run-app use more heap space? set in application.yaml or build.gradle?
this seems trick in build.gradle:
bootrun { jvmargs = ['-xmx2048m'] }