Index: test/cctest/test-api.cc |
=================================================================== |
--- test/cctest/test-api.cc (revision 15459) |
+++ test/cctest/test-api.cc (working copy) |
@@ -3784,7 +3784,7 @@ |
static const int K = 1024; |
v8::ResourceConstraints constraints; |
constraints.set_max_young_space_size(256 * K); |
- constraints.set_max_old_space_size(3 * K * K); |
+ constraints.set_max_old_space_size(3 * K * K + 4 * K); |
v8::SetResourceConstraints(&constraints); |
// Execute a script that causes out of memory. |