Stream: general

Topic: WAMR 64K memory slices


view this post on Zulip Borja Tellado (Mar 31 2025 at 10:48):

Hi, I'm trying to compile for embeded devices using stdlib (not including the -nostdlib flag during clang compilation) and memory heap grows in 64K slices, would it be possible to reduce that? Is it required to patch llvm compiler? Thanks

view this post on Zulip Notification Bot (Mar 31 2025 at 10:48):

This topic was moved here from #general > 64K memory slices by Borja Tellado.

view this post on Zulip bjorn3 (Mar 31 2025 at 14:12):

The page size on wasm is 64k. There is a wasm proposal to allow using smaller page sizes though: https://github.com/WebAssembly/custom-page-sizes I think WAMR doesn't support it yet though.

Contribute to WebAssembly/custom-page-sizes development by creating an account on GitHub.

view this post on Zulip bjorn3 (Mar 31 2025 at 14:13):

https://github.com/WebAssembly/custom-page-sizes/blob/main/proposals/custom-page-sizes/Overview.md#implementation-status has a list of wasm engines that do support it.

Contribute to WebAssembly/custom-page-sizes development by creating an account on GitHub.

view this post on Zulip bjorn3 (Mar 31 2025 at 14:14):

By the way you may want to post in #wamr instead. Maybe a mod can move your existing messages there?


Last updated: Apr 09 2025 at 05:03 UTC