How to track the memory usage in C++
- by akintayo
Hi
I have a C++ program running under linux. Is it possible to track its memory usage from the code? I am allocating new objects and running out of memory, so I want to keep track of how quickly I am using memory.
Thanks