check if can't get pid when getting memory