Memory leak in stencyl

vikingpotato

  • Posts: 852
Sometime ago I tried making a game compatible with flash and iOS with Stencyl(free), I have faced memory leaks leading to frame-rate drops.

The objective was to make an endless game, with procedural level generation. It used a lot of 'create recycled' and 'recycle self' for multiple actor kinds. As the game progressed, the frame-rate remained nice 60 for the first 10 seconds, then started dropping and in the next 10 seconds ultimately to 4-5 fps... The results were somehow almost the same in case of recycling old actors and, simply creating & killing actors (not recycling at all)...
I spent quite some time with it, and the only possibility remaining is memory leaks... The game is closed now, i can send stencyl the source file if the need it for some kind of engine debug purpose

coleislazy

  • *
  • Posts: 2607
Since the engine Stencyl runs on will be changing in 3.0, this won't do us much good now. However, if you upgrade the game to 3.0 and find that you have the same issues, it may be useful to pinpoint the cause.

pinhard

  • Posts: 154
just realize, it happen to me also

FranAlt

  • Posts: 169
Im having a issue regarding memory on iOS, I get up to 120MB of RAM memory usage while even games like X-Plane use up to 40-50MB of RAM. I have no truble with the fps but this huge amount of memory consumption will make my game crash. I have atlases perfectly configured, max 3 per scene.

Does anyone know how to solve this?
Swipe - FREE          Cloud Run - FREE              
                                  
         iOS                                Android
    Android