drain vs swap out

drain

noun
  • Something consuming resources and providing nothing in return. 

  • One terminal of a field effect transistor (FET). 

  • An access point or conduit for rainwater that drains directly downstream in a (drainage) basin without going through sewers or water treatment in order to prevent or belay floods. 

  • An outhole. 

  • A conduit allowing liquid to flow out of an otherwise contained volume; a plughole (UK) 

  • An act of urination. 

verb
  • To flow gradually. 

  • To draw off by degrees; to cause to flow gradually out or off; hence, to exhaust. 

  • To deplete of energy or resources. 

  • To convert a perennially wet place into a dry one. 

  • To fall off the bottom of the playfield. 

  • To cause liquid to flow out of. 

  • To lose liquid. 

swap out

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. 

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

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

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

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