Answer the question
In order to leave comments, you need to log in
How to detect a memory leak?
Is there a way to find what is eating my memory and in what quantities? Preferably something that can be delivered without a debugger.
Answer the question
In order to leave comments, you need to log in
Colleague, you will forgive me, but I would like to answer that the evil Alzheimer is devouring your memory. You can vaccinate, but this is unlikely to help, but without a debugger.
But seriously, where are the technical details? At least name the platform!
If everything is top secret, then read about valgrind for nix systems or Application Verifier for Windows.
You should also pay attention to the libraries and modules that you use in your project.
You can also advise writing your own code using smart pointers or without them at all, this often helps.
Good luck and clean code!
Dynamic analyzers will help you . Plus, you can try PVS-Studio: Yes, PVS-Studio can detect memory leaks .
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question