Memory check