add clean memory