Memorizing is a directed effort to remember something. Remembering something as a side effect of some other task is not memorization.