allocate vs swap out

allocate

verb
  • To reserve a portion of memory for use by a computer program. 

  • To set aside for a purpose. 

  • To distribute according to a plan, generally followed by the adposition to. 

swap out

verb
  • To transfer (memory contents) into a swap file. 

  • To exchange (something) for (something else). (usually followed by with or for) 

  • To exchange (something or someone) for an unused (or less-used) equivalent. 

noun
  • Anything that is swapped out for another; an exchange. 

  • A pre-prepared food item used in place of an unfinished food item in order to cut down the overall preparation time during filming. 

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