From 64621879091a2e9281e873c2308fe873f1358726 Mon Sep 17 00:00:00 2001 From: Matt Witherspoon <32485495+spoonincode@users.noreply.github.com> Date: Tue, 27 Feb 2018 17:43:46 -0500 Subject: [PATCH] Temporary reduction of wasm memory to 2MB --- libraries/chain/include/eosio/chain/wasm_eosio_constraints.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libraries/chain/include/eosio/chain/wasm_eosio_constraints.hpp b/libraries/chain/include/eosio/chain/wasm_eosio_constraints.hpp index db197b8caca..2e50c23a815 100644 --- a/libraries/chain/include/eosio/chain/wasm_eosio_constraints.hpp +++ b/libraries/chain/include/eosio/chain/wasm_eosio_constraints.hpp @@ -7,7 +7,7 @@ namespace IR { namespace eosio { namespace chain { namespace wasm_constraints { - constexpr unsigned maximum_linear_memory = 33*1024*1024;//bytes + constexpr unsigned maximum_linear_memory = 2*1024*1024;//bytes constexpr unsigned maximum_mutable_globals = 1024; //bytes constexpr unsigned maximum_table_elements = 1024; //elements constexpr unsigned maximum_linear_memory_init = 64*1024; //bytes