Skip to content

Feat: Allow invocation of the emscripten_notify_memory_growth hostcall. - #461

Merged
mpwarres merged 5 commits into
proxy-wasm:mainfrom
rachgreen33:emscripten_notify_patch
Nov 20, 2025
Merged

Feat: Allow invocation of the emscripten_notify_memory_growth hostcall.#461
mpwarres merged 5 commits into
proxy-wasm:mainfrom
rachgreen33:emscripten_notify_patch

Conversation

@rachgreen33

@rachgreen33 rachgreen33 commented Oct 17, 2025

Copy link
Copy Markdown
Contributor

The emscripten_notify_memory_growth function is invoked by emscripten when it grows the heap. Allowlisting this function is needed in order to make use of a smaller emscripten INITIAL_HEAP setting

@rachgreen33
rachgreen33 marked this pull request as ready for review October 22, 2025 14:44
@mpwarres

Copy link
Copy Markdown
Contributor

The emscripten_notify_memory_growth function is invoked by emscripten when it grows the heap.

Suggest adding to PR description: "Allowlisting this function is needed in order to make use of a smaller emscripten INITIAL_HEAP setting."

Comment thread src/wasm.cc Outdated
Signed-off-by: Rachel Green <rachgreen@google.com>
Signed-off-by: Rachel Green <rachgreen@google.com>
@mpwarres
mpwarres merged commit 14fa83a into proxy-wasm:main Nov 20, 2025
80 of 95 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants