Index: src/snapshot/snapshot-common.cc |
diff --git a/src/snapshot/snapshot-common.cc b/src/snapshot/snapshot-common.cc |
index 89fe8af2eb774d8f72ce88303ca4a7344d4b6f90..ab8a88486eab2ae1d8f9551827117d18a737f849 100644 |
--- a/src/snapshot/snapshot-common.cc |
+++ b/src/snapshot/snapshot-common.cc |
@@ -137,7 +137,7 @@ void CalculateFirstPageSizes(bool is_default_snapshot, |
2 * context_reservations[context_index].chunk_size()) + |
Page::kObjectStartOffset; |
// Add a small allowance to the code space for small scripts. |
- if (space == CODE_SPACE) required += 32 * KB; |
+ if (space == CODE_SPACE) required += 64 * KB; |
} else { |
// We expect the vanilla snapshot to only require on page per space. |
DCHECK(!is_default_snapshot); |