From 46cfefcfed75d752ef8353d1237c4781e85f4564 Mon Sep 17 00:00:00 2001 From: "zundel@google.com" Date: Fri, 9 Mar 2012 16:53:36 +0000 Subject: [PATCH] Here is the -d32 -client change for mac Review URL: https://chromiumcodereview.appspot.com//9648027 git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@5239 260f80e4-7a28-3924-810f-c04153c831b5 --- compiler/scripts/dartc.sh | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/compiler/scripts/dartc.sh b/compiler/scripts/dartc.sh index 93ac5c1fe2a..ce5458e5daa 100755 --- a/compiler/scripts/dartc.sh +++ b/compiler/scripts/dartc.sh @@ -18,8 +18,9 @@ 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" + # this setting. Force to 32 bit client vm. 64 bit and server VM make for + # poor performance. + EXTRA_JVMARGS+="-Xmx256M -client -d32" fi exec java $EXTRA_JVMARGS $DART_JVMARGS -ea -classpath "@CLASSPATH@" \