Erik Darling is overdrawn at the memory bank (which was, sadly, not a very good MST3K episode):
Whomever decided to give “memory bank” its moniker was wise beyond their years, or maybe they just made a very apt observation: all memory is on loan.
Even in the context we’ll be talking about, when SQL Server has lock pages in memory enabled, the pages that are locked in memory may not have permanent residency.
If your SQL Server doesn’t have enough memory, or if various workload elements are untuned, you may hit one of these scenarios:
There are three of them, which is really that there are two of them but they can join forces in an effort to make your life a pain.