You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@groovy.apache.org by pa...@apache.org on 2018/11/02 06:47:57 UTC

[2/2] groovy git commit: GROOVY-8865: Specifying initial heap size results in an error

GROOVY-8865: Specifying initial heap size results in an error

Remove the explicit setting - current JDKs will set higher values in many circumstances.


Project: http://git-wip-us.apache.org/repos/asf/groovy/repo
Commit: http://git-wip-us.apache.org/repos/asf/groovy/commit/7c72a326
Tree: http://git-wip-us.apache.org/repos/asf/groovy/tree/7c72a326
Diff: http://git-wip-us.apache.org/repos/asf/groovy/diff/7c72a326

Branch: refs/heads/GROOVY_2_5_X
Commit: 7c72a3267280d3ddf3305322fca289681ffe0f9b
Parents: 983486b
Author: Paul King <pa...@asert.com.au>
Authored: Fri Nov 2 12:37:49 2018 +1000
Committer: Paul King <pa...@asert.com.au>
Committed: Fri Nov 2 16:47:36 2018 +1000

----------------------------------------------------------------------
 src/bin/startGroovy.bat | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/groovy/blob/7c72a326/src/bin/startGroovy.bat
----------------------------------------------------------------------
diff --git a/src/bin/startGroovy.bat b/src/bin/startGroovy.bat
index c2dc3da..dddc82d 100644
--- a/src/bin/startGroovy.bat
+++ b/src/bin/startGroovy.bat
@@ -259,8 +259,7 @@ set CP=%CLASSPATH%;%CP%
 set STARTER_MAIN_CLASS=org.codehaus.groovy.tools.GroovyStarter
 set STARTER_CONF=%GROOVY_HOME%\conf\groovy-starter.conf
 
-set GROOVY_OPTS="-Xmx128m"
-set GROOVY_OPTS=%GROOVY_OPTS% -Dprogram.name="%PROGNAME%"
+set GROOVY_OPTS=-Dprogram.name="%PROGNAME%"
 set GROOVY_OPTS=%GROOVY_OPTS% -Dgroovy.home="%GROOVY_HOME%"
 if not "%TOOLS_JAR%" == "" set GROOVY_OPTS=%GROOVY_OPTS% -Dtools.jar="%TOOLS_JAR%"
 set GROOVY_OPTS=%GROOVY_OPTS% -Dgroovy.starter.conf="%STARTER_CONF%"