Index: dart/utils/compiler/build_helper.dart |
diff --git a/dart/utils/compiler/build_helper.dart b/dart/utils/compiler/build_helper.dart |
index a094d3b787c8ad863827633d35c3f8887392f41a..0e628bcdb4c0afdcd29223014a337ce4adf59ed8 100644 |
--- a/dart/utils/compiler/build_helper.dart |
+++ b/dart/utils/compiler/build_helper.dart |
@@ -78,6 +78,12 @@ List<String> buildScript(Uri dartUri, Uri dartVmLocation, String options) { |
// TODO(ahe): Remove this option. |
options = ' --allow_string_plus=false$options'; |
+ // Tell the VM to grow the heap more aggressively. This should only |
+ // be necessary temporarily until the VM is better at detecting how |
+ // applications use memory. |
+ // TODO(ahe): Remove this option. |
+ options = ' --heap_growth_rate=32$options'; |
+ |
return [ |
''' |
#!/bin/sh |