Try using Task Manager, Performance Monitor, and Resource Monitor (one at a time) to identify what app, process, or service is grabbing and, most importantly, holding RAM.
Could be some individual software bug or some "perfect storm" of events.
E.g., maybe some backup or update attempting to run in the background.