A lack of sleep therefore is a deeply penetrating and corrosive force that enfeebles the memory-making apparatus within your brain, preventing you from constructing lasting memory traces. It is rather like building a sand castle too close to the tide line—the consequences are inevitable.