From 7f313dcbd4f5cd2f0cb50a37643ccd7b82955b45 Mon Sep 17 00:00:00 2001 From: William Casarin Date: Fri, 18 Aug 2023 08:40:33 -0700 Subject: [PATCH] nostrscript: add comment about iOS virtual memory allocs I'm really just doing this because I forgot a changelog entry Changelog-Fixed: Fixed nostrscript not working on smaller phones --- damus-c/wasm.c | 1 + 1 file changed, 1 insertion(+) diff --git a/damus-c/wasm.c b/damus-c/wasm.c index 8304f3ec..8a81d301 100644 --- a/damus-c/wasm.c +++ b/damus-c/wasm.c @@ -7100,6 +7100,7 @@ int wasm_interp_init(struct wasm_interp *interp, struct module *module) return 0; } + // keep total memory size small for now, iOS doesn't like like mallocs memory_pages_size = 8 * WASM_PAGE_SIZE; memsize =