On second image, I tested by switching back and forth between menu scene and table scene, memory usage dramatically increasing then came to situation when os kill the game due to memory overuse.
Can you guys take a look and provide a solution please.
@panda@nite@owen@pandamicro do you guys have any idea about this issue? I’m in optimization phase but have no clue or guidance.
Memory leak happens all on web, iOS and Android. I use only cc.director.loadScene API to switch between scenes.
I posted another issue about memory here Memory not being cleared when moving between scenes
@jrosich it’s actually leaks with my code, one of my college looked into and fixed it. Not like other strict language like java, c, it’s easy to get leak with javascript, especially with setTimeout function