RuntimeError: memory access out of bounds

I am constantly getting this error on Facebook not on local http server. I’ve researched it and I think my game uses more memory than available for WASM (I guess…)

Is there any way to solve it?

Thanks a lot.

Bump…Is there way to increase WASM memory?
BTW My game works perfectly fine on http servers but not on Facebook it gives memory error after some time.

I’m not sure how to answer your question, but I’d like to ask about your experience with your HTML5 game on Facebook, especially in terms of visibility.

I already have a page with decent number of followers. I thought I should bring my game to Facebook. BTW my game was not profitable on iOS and Android so I stopped developing on those platforms.
HTML5 export works perfectly but I don’t get why I see memory issues on Facebook. I tried compressing everything even removing sounds but nope still crashes after some time on Facebook.

1 Like

Thank you! … and what build of Solar2D you use for your html5 builds? What condig of scale parameter do you setup in your config.lua file?