memory checking using percentage used