give someone a roasting vs throw the book at

give someone a roasting

throw the book at

verb
  • To charge with or convict of as many crimes as possible. 

  • Used other than figuratively or idiomatically: see throw, the, book, at. 

  • To apply the harshest possible punishment to. 

How often have the words give someone a roasting and throw the book at occurred in a corpus of books? (source: Google Ngram Viewer )