Clearing killed programs from memory