diff --git a/internal/utils/gc_wasm.go b/internal/utils/gc_wasm.go index 22f87e19f8..17dc349645 100644 --- a/internal/utils/gc_wasm.go +++ b/internal/utils/gc_wasm.go @@ -6,8 +6,8 @@ import ( "runtime/debug" ) -// WasmMemoryLimit use 3 GB memory limit -const WasmMemoryLimit = 3 * 1024 * 1024 * 1024 +// WasmMemoryLimit use 2 GB memory limit +const WasmMemoryLimit = 2 * 1024 * 1024 * 1024 func ApplyMemoryLimit() { debug.SetMemoryLimit(WasmMemoryLimit)