Can you post your system specs? The error seems to imply that you are running out of system memory, or the layout that your machine is trying to re-render (due to waking up from sleep) is very large.
Do you have dedicated GPU on your laptop? we could first try to go for driver updates and trying again. That error message comes from the system itself that it runs out of memory. Are you running some sort of layout that does not “delete” parts?