Memory Leak

Hi,

I'm having issues with my game. After only a few minutes it slowls down to a crawl. Could this be a memory leak and if it is how do I find it? Could it be something else?
 

sylvain_l

Member
chance you are creating 1 (or multiple) new ressource (sprite, surface, ds_*...) or instances in loop in a step event of an instances of your game.
(edit: oh even if you create a sprite and delete it every damn frame that lead to a kinda leak and also a slow down )

launch your game in the debuger mode and check the memory usage (or the task manager can be enough if it a huge leak) to see if your memory usage grow regulary.
 
Top