Skip to content

Commit f2c0e69

Browse files
committed
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 <ryan@synca.io>
1 parent e5256b0 commit f2c0e69

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

bazel/defs.bzl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -101,9 +101,9 @@ def proxy_wasm_cc_binary(
101101
# Give host code access to Emscripten's _malloc() function
102102
"-sEXPORTED_FUNCTIONS=_malloc",
103103
# Allow allocating memory past initial heap size
104-
"-sALLOW_MEMORY_GROWTH=1",
104+
# "-sALLOW_MEMORY_GROWTH=1",
105105
# Initial amount of heap memory. 64KB matches Rust SDK starting heap size.
106-
"-sINITIAL_HEAP=64KB",
106+
# "-sINITIAL_HEAP=64KB",
107107
],
108108
tags = tags + [
109109
"manual",

0 commit comments

Comments
 (0)