Memory profiling in C++
Code profiling as said in the earlier post is the dynamic analysis of resources used by a program or a small section of it.Here we will discuss about monitoring the memory during a run of a C++ program. Monitoring the memory greatly helps in optimizing your code. Memory leaks (when memory is not released back…