Learn by __; memorize
I believe the answer is:
rote
(Other definitions for rote that I've seen before include "By . . . . means by memory - that tore it" , "Mechanical routine" , "Learn by ____ (repetition)" , "Mechanical procedure" , "Habitual routine" .)