Getting only 256MB heap for Grails

Even when I set the heap to -Xmx1024m there is still a -Xmx256m in the Grails command line, and I'm running out of memory. I can't see where this gets set. I'm running the Idea 7.0 (build 7361 I think) and JetGroovy 0.1.11732. The command line I get is:

"C:\Program Files\Java\jdk1.6.0\bin\java" -classic -Xmx1024m -ea -Xmx256M -Dgrails.home=C:\java\grails -Dbase.dir=C:\work\software\java\grails "-Dtools.jar=C:\Program Files\JetBrains\IntelliJ IDEA 7.0\jre\lib\tools.jar" -Dgroovy.starter.conf=C:\java\grails/conf/groovy-starter.conf -Xdebug -Xrunjdwp:transport=dt_socket,address=,suspend=y,server=n -Dfile.encoding=windows-1252 -classpath "C:\java\grails\lib\groovy-all-1.1-rc-1.jar;C:\Program Files\JetBrains\IntelliJ IDEA 7.0\lib\idea_rt.jar" org.codehaus.groovy.tools.GroovyStarter --main org.codehaus.groovy.grails.cli.GrailsScriptRunner --conf C:\java\grails/conf/groovy-starter.conf --classpath C:\java\grails\lib\groovy-all-1.1-rc-1.jar;. run-app

I don't want the -classic or the -Xmx256M


Please sign in to leave a comment.