> On Jul 20, 2019, at 10:10, キャロウ マーク <[email protected]> wrote: > > I have -s ALLOW_MEMORY_GROWTH=1 yet I still get this error, which I was > getting before I added ALLOW_MEMORY_GROWTH=1: > > failure to dynamicAlloc - memory growth etc. is not supported there, call > malloc/sbrk directly > > Why? > > I only started getting this after I added a printf to my code to try and > debug why my file loading is not working. >
I was caught out by the browser loading the previous version from cache. Once I
actually got the version with ALLOW_MEMORY_GROWTH=1 the problem went away.
Regards
-Mark
--
You received this message because you are subscribed to the Google Groups
"emscripten-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/emscripten-discuss/775A9190-AFBF-4577-9B24-832FE672E60E%40callow.im.
signature.asc
Description: Message signed with OpenPGP
