Skip to content
This repository has been archived by the owner on Aug 2, 2022. It is now read-only.

Temporary reduction of wasm memory to 2MB #1492

Merged
merged 1 commit into from
Feb 27, 2018
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down