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

Unified Diff: sdk/bin/pub_developer

Issue 58513005: Revert "Make Dart heap size bigger when running pub." (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 7 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 | « sdk/bin/pub ('k') | sdk/lib/_internal/pub/test/test_pub.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sdk/bin/pub_developer
diff --git a/sdk/bin/pub_developer b/sdk/bin/pub_developer
index bb5c2c3cfd4140fb8038c8b5cd303298ea24fd05..be0510d990fbc78797d73fe57c7d153a5591215b 100755
--- a/sdk/bin/pub_developer
+++ b/sdk/bin/pub_developer
@@ -12,16 +12,12 @@
BIN_DIR="$(cd "${0%/*}" ; pwd -P)"
SDK_DIR="$(cd "${BIN_DIR}/.." ; pwd -P)"
-# Increase the heap size for Dart. Pub runs dart2js, which uses a lot of
-# memory.
-DART_FLAGS="--new_gen_heap_size=256 --old_gen_heap_size=1536"
-
SNAPSHOT="$BIN_DIR/snapshots/pub.dart.snapshot"
if test -f "$SNAPSHOT"; then
# We are running the snapshot in the built SDK.
DART="$BIN_DIR/dart"
- exec "$DART" "$DART_FLAGS" --checked "$SNAPSHOT" "$@"
+ exec "$DART" --checked "$SNAPSHOT" "$@"
else
# We are running pub from source in the development repo.
if [ -z "$DART_CONFIGURATION" ];
@@ -43,6 +39,5 @@ else
PUB="$SDK_DIR/lib/_internal/pub/bin/pub.dart"
- exec "$DART" "$DART_FLAGS" "--checked" "--package-root=$PACKAGES_DIR" "$PUB" \
- "$@"
+ exec "$DART" "--checked" "--package-root=$PACKAGES_DIR" "$PUB" "$@"
fi
« no previous file with comments | « sdk/bin/pub ('k') | sdk/lib/_internal/pub/test/test_pub.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698