Index: runtime/vm/snapshot.cc |
=================================================================== |
--- runtime/vm/snapshot.cc (revision 38693) |
+++ runtime/vm/snapshot.cc (working copy) |
@@ -745,7 +745,7 @@ |
ASSERT(Utils::IsAligned(size, kObjectAlignment)); |
Heap* heap = isolate()->heap(); |
- uword address = heap->TryAllocate(size, Heap::kOld); |
+ uword address = heap->TryAllocate(size, Heap::kOld, PageSpace::kForceGrowth); |
if (address == 0) { |
// Use the preallocated out of memory exception to avoid calling |
// into dart code or allocating any code. |