From f2c0e692060418656adf59051161c80722f86a4a Mon Sep 17 00:00:00 2001 From: Ryan Northey Date: Wed, 21 Jan 2026 06:54:58 +0000 Subject: [PATCH] bazel: Fix memory heap allocation current settings which were ~recently added break Envoy. not sure on best resolution (make configurable, increase, etc) but unless this is resolved here downstreams will have to carry patches for this Signed-off-by: Ryan Northey --- bazel/defs.bzl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/bazel/defs.bzl b/bazel/defs.bzl index 87727c0..ae1b19b 100644 --- a/bazel/defs.bzl +++ b/bazel/defs.bzl @@ -101,9 +101,9 @@ def proxy_wasm_cc_binary( # Give host code access to Emscripten's _malloc() function "-sEXPORTED_FUNCTIONS=_malloc", # Allow allocating memory past initial heap size - "-sALLOW_MEMORY_GROWTH=1", + # "-sALLOW_MEMORY_GROWTH=1", # Initial amount of heap memory. 64KB matches Rust SDK starting heap size. - "-sINITIAL_HEAP=64KB", + # "-sINITIAL_HEAP=64KB", ], tags = tags + [ "manual",