Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(218)

Unified Diff: compiler/scripts/dartc_test.sh

Issue 8659022: Puts JsScope on a diet (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Changed the strategy to only walk a specific class when TranslationContext is created Created 9 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « compiler/scripts/dartc.sh ('k') | tests/co19/co19-compiler.status » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: compiler/scripts/dartc_test.sh
diff --git a/compiler/scripts/dartc_test.sh b/compiler/scripts/dartc_test.sh
index 4fd5222c47c67483775fbfdda977d248f11f322b..4f73cc7a841870a9060876cbb288b6e625d28147 100755
--- a/compiler/scripts/dartc_test.sh
+++ b/compiler/scripts/dartc_test.sh
@@ -25,7 +25,13 @@ if [ -x /usr/libexec/java_home ]; then
export JAVA_HOME=$(/usr/libexec/java_home -v '1.6+')
fi
-exec java -ea -Dcom.google.dart.runner.d8="$D8_EXEC" \
+# Limit heap in order to detect any memory issues.
+# On some system, the heap dynamically sizes to > 1GB.
+# Users can specify DART_JVMARGS in the environment to override
+# these settings.
+EXTRA_JVMARGS=-Xmx128M
+
+exec java $EXTRA_JVMARGS $DART_JVMARGS -ea -Dcom.google.dart.runner.d8="$D8_EXEC" \
-Dcom.google.dart.runner.progname="$DART_SCRIPT_NAME" \
-classpath "@CLASSPATH@" \
com.google.dart.runner.DartRunner $@
« no previous file with comments | « compiler/scripts/dartc.sh ('k') | tests/co19/co19-compiler.status » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698