Suspend mode - eats all cache and RAM by next day

Trialling Zorin 17.3 and using suspend mode over night. Hardware 64GB M.2 4GB Ram, single core (2 thread) celery. Yes, somewhat limited, but hey that's what the sales pitch is about right? My emergency backup lappy.

I note the performance plummets and becomes unusable during the next day with RAM at 90% and swap file (4GB) 85% occasionally 100%.

One Brave browser with 20 tabs and Thunderbird open.

A restart resolves RAM and swap file use back to 60% RAM, 0% swap, this includes opening all previous browser tabs.

Memory leaks?

Because of the Hardware Specs, I would suggest to try Zorin Lite on this.

1 Like

Thanks. My understanding Zorin Lite is simply a Desktop change to a lighter less resource intense version, however I'm not convinced it's a desktop issue, could be Brave or Ubuntu?

The issue presents itself over night when the lappy is off, which is odd.

This definitely sounds like a memory leak. S3 suspend to RAM means that neither RAM nor Swap should fill during Suspend.

If you're able, I suggest doing the sleep that's causing you trouble for a shorter period, and then using System Monitor to see which application has RAM getting out of control. 20 tabs feels like a lot to me personally, but it's much less about how many you have and much more about what they're doing. I recently had Firefox get up to 23 GB of RAM usage when one tab got out of control after an (admittedly massive) task.

Anyway, I'm not (necessarily) blaming Brave, but checking which programs are using how much RAM as things progressively get worse will make it easier to tell if the issue lies in a Zorin component or a running application.

1 Like

You could test if it is better with enabled or disabled Hardware Acceleration.

Thanks all.

This morning I find the system unusable from suspend and after reboot resolves (including reopening all Brave tabs). Having reviewed System Monitor between resume from suspend and upon restart it appears CPU related rather than memory. Brave slowly consumes an increasing amount of RAM/swap as time goes on although never reaches that of suspended state. However CPU is 100% from suspend and hangs there quite some time (+5 mins) so I'm more inclined to believe this is the issue. Brave is also throwing a 'performance' issue for a tab open on ebay.

I'll try closing Brave tonight to compare the morning's performance.

I also know this lappy is significantly under powered, but still, was hoping Linux would deal with this better than Win11.

Cheers again all, you're a fab helpful team.

1 Like

Linux is significantly lighter than Windows 11, and Zorin can extend the life of a computer, but it's not specifically one of the distributions people point to for miracles of hardware revival. I'm sure I speak for everyone when I say we're happy to help you get Zorin running well on it, but if it doesn't pan out, I'd recommend trying one of these. (Zorin Lite is on the list, but as I recall is being discontinued as of Zorin 18, so you may not want to pick it specifically.)

1 Like

This looks like a module or driver or some component is failing to enter the suspend state, leading to a loop.
Usual culprits are network, USB devices or bluetooth...
I grabbed this command to check logs from the web:

journalctl --since "8 hours ago" | grep -Ei "suspend|resume|error|fail|cpu"

to try narrowing down what is causing a probable loop at suspend.

1 Like