From bef642e3fda5f79380a8ae6743262eb18f9b44af Mon Sep 17 00:00:00 2001 From: Sergey Pepyakin Date: Mon, 11 Jun 2018 18:29:37 +0300 Subject: [PATCH] Lift limits little bit more. --- src/runner.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/runner.rs b/src/runner.rs index 51c9661..719d607 100644 --- a/src/runner.rs +++ b/src/runner.rs @@ -19,9 +19,9 @@ use memory_units::Pages; use nan_preserving_float::{F32, F64}; /// Maximum number of entries in value stack. -pub const DEFAULT_VALUE_STACK_LIMIT: usize = 16384; +pub const DEFAULT_VALUE_STACK_LIMIT: usize = 4 * 1024 * 1024; /// Maximum number of entries in frame stack. -pub const DEFAULT_FRAME_STACK_LIMIT: usize = 16384; +pub const DEFAULT_FRAME_STACK_LIMIT: usize = 4 * 1024 * 1024; /// Function interpreter. pub struct Interpreter<'a, E: Externals + 'a> {