Sounds like your system is going into hybrid hibernate
and your swap file is too small, so please read this:
and adapt your swap settings or disable hibernate completely
Your computer will use more power while sleeping with hibernation disabled completely and might run out of battery and forceably shut down if you leave it unattended for an entire night…