I had a problem with finding memory leaks. Tell me, please, what tool is best to use for this? I have seen more than 50 debuggers in Wikipedia. Which to choose? (for windows)
Community Chosen Answer
How to detect memory leak?
The rough universal-valid method is to comment parts of your code starting from the initial object declarations and first function calls, and then continue narrowing that memory-leaking code commenting. In the end you'll get a small-enough piece of code where it should be easy enough to spot the problem.