Identify memory leak in c ++? [closed]

1

Hello, I recently had problems with the application I'm developing. The application seems to lose performance during a certain runtime. I checked my code but I only use a single object dynamically allocated in memory, and I'm calling its due destructor eventually, but the problem persists. Because the project currently has many object calls, I think some memory leak is happening in some part of the code. My question is, is there any tool to detect memory leaks, and tell me which part of the code is occurring? I have read in some places about Valgrind, but it is only compatible with the linux platform. I am currently using the Qt creator IDE on Windows, with the project in Debug mode. Would anyone know of a similar tool or how to identify these memory leaks? Thanks in advance.

I tried to debug the code using Qt creator itself, but I had problems with Ide, and the program simply does not debug.

    
asked by anonymous 14.09.2016 / 21:21

1 answer

1

Here is a list of free tools that can check run-time memory and point out where likely leak :

1) Dr. Memory : link

2) UMDH : link

3) Application Verifier : link

4) Visual Leak Detector for Visual C ++ 2008-2015 : link

I hope I have helped!

    
14.09.2016 / 21:54