I have developed and launched a game called Bicycle Doodle GLD.
In this game, I load all the game resources at the initial loading scene. The game contains 24 levels, so only the resources that change for each level I don't load initially, but instead load at the level-select scene. Each level needs 5 to 15 terrain images that load during level selection time. There are the following scenes in the game: menu scene, level select scene, game play scene, and game over scene.
On each set of scene I call System.gc(), so memory clean up occur. My problem is that after playing a long time and changing scenes, the game suddenly closes without firing any message in debug.
I think memory becoming full is the reason. How do I fix this?