Linux Lets know how much memory eaten by your process one of best and easy to understandable tool is top then get your PID from there or make a ps -ef|grep -i et your PID from there then grep Pss: /proc/[pid]/smaps | awk '{ sum+=$2; } END{ print sum; }' this will print a numeric in kb :)