As I am back working on a game of mine and I noticed the game crashes very frequently when played from mobile. I am testing it with an iPhone 7. Everything is low-poly and I am quite happy with the frame-rate, however from time to time the tab just crashes. I am guessing this is a memory leak problem.
There is not much dynamic objects instancing and I will surely optimize it with an object pool later on. What I am mainly concerned about, is that the game client runs Ammo.js to simulate the client-side physics. I fear Ammo.js requires too much memory which just causes the game client to crash. Has anyone experienced something similar? I would really appreciate any ideas regarding the matter.
Here is a link to the game : https://gcapsarena.com .