summaryrefslogtreecommitdiff
path: root/core/runtime.rs
diff options
context:
space:
mode:
Diffstat (limited to 'core/runtime.rs')
-rw-r--r--core/runtime.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/core/runtime.rs b/core/runtime.rs
index 923caaea9..bae6a40db 100644
--- a/core/runtime.rs
+++ b/core/runtime.rs
@@ -3165,7 +3165,7 @@ pub mod tests {
#[test]
fn test_heap_limits() {
let create_params =
- v8::Isolate::create_params().heap_limits(0, 3 * 1024 * 1024);
+ v8::Isolate::create_params().heap_limits(0, 5 * 1024 * 1024);
let mut runtime = JsRuntime::new(RuntimeOptions {
create_params: Some(create_params),
..Default::default()
@@ -3209,7 +3209,7 @@ pub mod tests {
#[test]
fn test_heap_limit_cb_multiple() {
let create_params =
- v8::Isolate::create_params().heap_limits(0, 3 * 1024 * 1024);
+ v8::Isolate::create_params().heap_limits(0, 5 * 1024 * 1024);
let mut runtime = JsRuntime::new(RuntimeOptions {
create_params: Some(create_params),
..Default::default()