use smaps to get resident memory instead of virtual memory