Revision: 15201
http://gate.svn.sourceforge.net/gate/?rev=15201&view=rev
Author: valyt
Date: 2012-01-24 12:48:23 +0000 (Tue, 24 Jan 2012)
Log Message:
-----------
Default the maximum memory to 1G.
This can be changed by calling the gate.sh script with a '-Xmx<value>' command
line parameter.
Modified Paths:
--------------
gate/trunk/bin/gate.sh
Modified: gate/trunk/bin/gate.sh
===================================================================
--- gate/trunk/bin/gate.sh 2012-01-24 02:28:05 UTC (rev 15200)
+++ gate/trunk/bin/gate.sh 2012-01-24 12:48:23 UTC (rev 15201)
@@ -1,4 +1,11 @@
#!/bin/bash
+
+# Parameters passed to the GATE process
+gateparams=()
+
+# Parameters passed to the Java process
+vmparams=(-splash:bin/splash.png -Xmx1G)
+
#set -x
PRG="$0"
CURDIR="`pwd`"
@@ -22,12 +29,6 @@
export ANT_HOME=$GATE_HOME
cd "$CURDIR"
-## Process arguments: known arguments must come first, as soon as an
-## unknown argument is detected, processing ends and the rest of the
-## arguments are passed on to ant run
-
-gateparams=()
-vmparams=(-splash:bin/splash.png)
while test "$1" != "";
do
case "$1" in
@@ -110,7 +111,6 @@
fi
-
echo "Running GATE using Java at $JAVACMD"
echo "$JAVACMD" "${vmparams[@]}" -jar "$GATE_HOME/bin/gateLauncher.jar"
"${gateparams[@]}"
exec "$JAVACMD" "${vmparams[@]}" -jar "$GATE_HOME/bin/gateLauncher.jar"
"${gateparams[@]}"
This was sent by the SourceForge.net collaborative development platform, the
world's largest Open Source development site.
------------------------------------------------------------------------------
Keep Your Developer Skills Current with LearnDevNow!
The most comprehensive online learning library for Microsoft developers
is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
Metro Style Apps, more. Free future releases when you subscribe now!
http://p.sf.net/sfu/learndevnow-d2d
_______________________________________________
GATE-cvs mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/gate-cvs