From Longman Dictionary of Contemporary Englishcommit something to memorycommit something to memoryformalREMEMBER to learn something so that you remember it SYN memorize → commit
Examples from the Corpus
commit something to memory• Some really dedicated fans have committed entire passages of the movie to memory.• Sometimes, conductors have to commit complete scores to memory.• The former I destroyed before entering the port of Vera Cruz, having committed it to memory.• The second man looked hard at Jean-Pierre, as if committing his face to memory.• What you must now do is commit the words to memory and take twenty cards from the pack.