Hi @wizardfromoz, thanks for the reply. If I'm not mistaken, free -h command gives the total amount of free and used memory in the entire system right? I wanted to know how to check the memory used by a specific process, like maybe the current process.
My question is basically similar to this...
Hi,
I am running a C++ application on Redhat linux, built using gcc. The program works in a step by step manner, and each steps uses new and delete to allocate and remove memory for huge data structures. I've made sure that we are freeing all the memory allocated, but when I check for the...