Revision: 15494
Author: [email protected]
Date: Thu Jul 4 11:45:03 2013
Log: Set 5M memory for OutOfMemory and OutOfMemoryNested test cases.
BUG=
TEST=cctest/test-api/OutOfMemory
cctest/test-api/OutOfMemoryNested
Review URL: https://codereview.chromium.org/18688002
Patch from Balazs Kilvady <[email protected]>.
http://code.google.com/p/v8/source/detail?r=15494
Modified:
/branches/bleeding_edge/test/cctest/test-api.cc
=======================================
--- /branches/bleeding_edge/test/cctest/test-api.cc Wed Jul 3 08:39:18 2013
+++ /branches/bleeding_edge/test/cctest/test-api.cc Thu Jul 4 11:45:03 2013
@@ -3715,7 +3715,7 @@
static const int K = 1024;
v8::ResourceConstraints constraints;
constraints.set_max_young_space_size(256 * K);
- constraints.set_max_old_space_size(4 * K * K);
+ constraints.set_max_old_space_size(5 * K * K);
v8::SetResourceConstraints(&constraints);
// Execute a script that causes out of memory.
@@ -3756,7 +3756,7 @@
static const int K = 1024;
v8::ResourceConstraints constraints;
constraints.set_max_young_space_size(256 * K);
- constraints.set_max_old_space_size(4 * K * K);
+ constraints.set_max_old_space_size(5 * K * K);
v8::SetResourceConstraints(&constraints);
v8::HandleScope scope(v8::Isolate::GetCurrent());
--
--
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev
---
You received this message because you are subscribed to the Google Groups "v8-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.