See if i got any memory leaks?

maggan

Member
Hi I wonder if there is any good way to see if my game have any memory leaks?
I dont have any problems but the game auto generates alot of data structures and i whant to know now if the game has any leaks before i continu to generate even more DS:s.
Looking for somthing like Valgrind but if somebody just know a way to se if there is any leaks thats would help alot too.
 

Yal

šŸ§ *penguin noises*
GMC Elder
The debug mode graph view plots memory and CPU usage over time, you could check if the memory curve rises indefinitely (=memory leak) or plateaus out into almost horizontal (=no memory leak).

Just press F6 and it should be in the top-left corner of the GMS2 interface.
 

maggan

Member
The debug mode graph view plots memory and CPU usage over time, you could check if the memory curve rises indefinitely (=memory leak) or plateaus out into almost horizontal (=no memory leak).

Just press F6 and it should be in the top-left corner of the GMS2 interface.
Ah nice! Thank you so much!
 
Top