Index: src/wasm/wasm-module-builder.cc |
diff --git a/src/wasm/wasm-module-builder.cc b/src/wasm/wasm-module-builder.cc |
index 57281c02a277a913ff73e77ee9be939a2f5bfbbe..eaa3451e3f9a5238351feeb9502298ba7324db96 100644 |
--- a/src/wasm/wasm-module-builder.cc |
+++ b/src/wasm/wasm-module-builder.cc |
@@ -364,7 +364,7 @@ void WasmModuleBuilder::WriteTo(ZoneBuffer& buffer) const { |
buffer.write_u8(1); // memory count |
buffer.write_u32v(kResizableMaximumFlag); |
buffer.write_u32v(16); // min memory size |
- buffer.write_u32v(16); // max memory size |
+ buffer.write_u32v(32); // max memory size |
FixupSection(buffer, start); |
} |