| Index: compiler/scripts/dartc.sh
|
| diff --git a/compiler/scripts/dartc.sh b/compiler/scripts/dartc.sh
|
| index cb792a8d84040c2ef183494ceefe10b6c4766f9e..02f221f918a9fa7474b705b0d6d4e9e90eb34f15 100755
|
| --- a/compiler/scripts/dartc.sh
|
| +++ b/compiler/scripts/dartc.sh
|
| @@ -11,13 +11,13 @@ if [ -x /usr/libexec/java_home ]; then
|
| export JAVA_HOME=$(/usr/libexec/java_home -v '1.6+')
|
| fi
|
|
|
| -EXTRA_JVMARGS=
|
| +EXTRA_JVMARGS="-Xss2M "
|
| OS=`uname | tr [A-Z] [a-z]`
|
| if [ "$OS" == "darwin" ] ; then
|
| # Bump up the heap on Mac VMs, some of which default to 128M or less.
|
| # Users can specify DART_JVMARGS in the environment to override
|
| # this setting.
|
| - EXTRA_JVMARGS="-Xmx256M -Xss2M"
|
| + EXTRA_JVMARGS+="-Xmx256M"
|
| fi
|
|
|
| exec java $EXTRA_JVMARGS $DART_JVMARGS -ea -classpath "@CLASSPATH@" \
|
|
|