updated memory checker