WebAssembly.Memory(): could not allocate memory on mobile browsers

My three js app is running good on desktops but giving me an error on mobile devices

I do not understand the memory usage here

What could be the problem?