java - Grails default memory settings in IntelliJ -
i using grails 2.5.1 , java 8 intellij 14.1.4. whenever run grails command (eg: clean) using grails run target (ctrl+alt+g), intellij executes below command:
c:\idocs\programs\java\jdk1.8.0_60\bin\java -dgrails.home=c:\idocs\programs\grails-2.5.1 -dbase.dir=c:\idocs\xxxx -dtools.jar=c:\idocs\programs\java\jdk1.8.0_60\lib\tools.jar -dgroovy.starter.conf=c:\idocs\programs\grails-2.5.1/conf/groovy-starter.conf -xmx768m -xms768m -xx:maxpermsize=256m -xx:permsize=256m -djline.windowsterminal.directconsole=false -dfile.encoding=windows-1252 -classpath c:\idocs\programs\grails-2.5.1\lib\org.codehaus.groovy\groovy-all\jars\groovy-all-2.4.4.jar;c:\idocs\programs\grails-2.5.1\dist\grails-bootstrap-2.5.1.jar org.codehaus.groovy.grails.cli.support.grailsstarter --main org.codehaus.groovy.grails.cli.grailsscriptrunner --conf c:\idocs\programs\grails-2.5.1/conf/groovy-starter.conf "clean -plain-output"
can give me location vm configuration (highlighted above) can edit, permsize , maxpermsize?
update: note: a) adding vm options on run target window doesnt modify it. b) adding vm options of intellij executeable (idea64.exe.vmoptions) doesnt work.
go (intellij installation bin directory):
<installation dir>/jetbrains/intellij idea <version>/bin
modify:
idea.exe.vmoptions idea64.exe.vmoption
this in context windows setup. can find corresponding in osx.
update:
grails application, setting grails_opts
environment variables option.
Comments
Post a Comment