DaveInDev
Member
Hi there,
I wonder if there is a guaranteed method to test if your program has some memory leaks ?
I thought about stopping the debugger at some choosen game start event (before any allocation), engaging the profiler, playing a few levels, and stop the debugger again at some game end event, and try to see if the RAM usage is the same at both points... But I do not succeed in showing this RAM usage (the RAM graph does not seem to go down at the end of my program. So I wonder how can I do this start/end RAM comparison (that I was used to do under Visual studio C++), in which event, using which RAM indicator ?
I wonder if there is a guaranteed method to test if your program has some memory leaks ?
I thought about stopping the debugger at some choosen game start event (before any allocation), engaging the profiler, playing a few levels, and stop the debugger again at some game end event, and try to see if the RAM usage is the same at both points... But I do not succeed in showing this RAM usage (the RAM graph does not seem to go down at the end of my program. So I wonder how can I do this start/end RAM comparison (that I was used to do under Visual studio C++), in which event, using which RAM indicator ?