Fix crash

We can't get memory used by process after killing it.

Signed-off-by: Harsh Panchal <panchal.harsh18@gmail.com>