From 07542499e1cd944c37795df7c33a058936437d3e Mon Sep 17 00:00:00 2001 From: kenji yoshida <6b656e6a69@gmail.com> Date: Wed, 8 Nov 2023 04:22:00 +0900 Subject: [PATCH] wasm/C: fix default minHeapSize (#848) --- .../java/org/teavm/tooling/builder/InProcessBuildStrategy.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/core/src/main/java/org/teavm/tooling/builder/InProcessBuildStrategy.java b/tools/core/src/main/java/org/teavm/tooling/builder/InProcessBuildStrategy.java index e3a768138..521b94fac 100644 --- a/tools/core/src/main/java/org/teavm/tooling/builder/InProcessBuildStrategy.java +++ b/tools/core/src/main/java/org/teavm/tooling/builder/InProcessBuildStrategy.java @@ -60,7 +60,7 @@ public class InProcessBuildStrategy implements BuildStrategy { private String[] transformers = new String[0]; private String[] classesToPreserve = new String[0]; private WasmBinaryVersion wasmVersion = WasmBinaryVersion.V_0x1; - private int minHeapSize = 4 * 1024 * 1204; + private int minHeapSize = 4 * 1024 * 1024; private int maxHeapSize = 128 * 1024 * 1024; private final List sourceFileProviders = new ArrayList<>(); private boolean heapDump;