memorize vs retain

memorize

verb
  • To fully learn so as to have entirely available to the memory; to learn by heart, commit to memory. 

retain

verb
  • To hold back (a pupil) instead of allowing them to advance to the next class or year. 

  • To employ by paying a retainer. 

  • To keep in one's pay or service. 

  • To keep in possession or use. 

  • To hold secure. 

How often have the words memorize and retain occurred in a corpus of books? (source: Google Ngram Viewer )