I have a C++ applicaion that is running as a daemon. The way I check the memory consumption is
top -p <pid>
I have noticed that "Reident Memory" is continously increasing on certain operation. Is there any easy to find out memory leak on linux.
If Valgrind is the way to go, how can I run it against the c++ daemon