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

Unified Diff: sdk/lib/_internal/pub/test/test_pub.dart

Issue 51353011: Make Dart heap size bigger when running pub. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Bump heap in tests too. 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_developer ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sdk/lib/_internal/pub/test/test_pub.dart
diff --git a/sdk/lib/_internal/pub/test/test_pub.dart b/sdk/lib/_internal/pub/test/test_pub.dart
index 5da6eb62a3931ad7435b5e88d96068faea8fda38..220674da75f238039c8dca9de9443d5a465569d0 100644
--- a/sdk/lib/_internal/pub/test/test_pub.dart
+++ b/sdk/lib/_internal/pub/test/test_pub.dart
@@ -472,8 +472,12 @@ ScheduledProcess startPub({List args, Future<Uri> tokenEndpoint}) {
// Find the main pub entrypoint.
var pubPath = path.join(testDirectory, '..', 'bin', 'pub.dart');
- var dartArgs = ['--package-root=$_packageRoot/', '--checked', pubPath,
- '--verbose'];
+ var dartArgs = [
+ '--package-root=$_packageRoot/',
+ // Make the heap bigger since dart2js uses a lot of memory.
+ '--new_gen_heap_size=256', '--old_gen_heap_size=1536',
+ '--checked', pubPath, '--verbose'
+ ];
dartArgs.addAll(args);
if (tokenEndpoint == null) tokenEndpoint = new Future.value();
« no previous file with comments | « sdk/bin/pub_developer ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698