How to use free and top commands to get the exact memory usage of a process
Read this post on techarena51.com