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'] } 

Popular posts from this blog

c# - ODP.NET Oracle.ManagedDataAccess causes ORA-12537 network session end of file -

matlab - Compression and Decompression of ECG Signal using HUFFMAN ALGORITHM -

utf 8 - split utf-8 string into bytes in python -