Long-term memory consolidation and short-term memory processes that occur during sleep do so at a cost to one another.