log the memoery