Quantcast
Channel: Debian User Forums
Viewing all articles
Browse latest Browse all 3423

[Software] How to know if my swap partition is big enough?

$
0
0
I have a Dell XPS 13 9360, which has 16GB RAM. It is soldered to the board and not replaceable or upgradable. I knew this when I bought it and was OK for that, it seemed good enough for my daily needs.

So far, Debian Bookworm runs perfectly on it, I haven't found any glaring nonfunctionality. As good or better than Windows. My experience with other distros on it is about the same.

However, on my most recent install, I have observed several system hangs or program crashes. It happened a few times when my Android devices were connected. Also when I was running a program GUI that relied on Java. And most recently, running Virt Manager VMs have suddenly exited silently.

My swap partition is currently 4GB. I don't use hibernate or suspend, so I figured it would be enough. But now I can't be sure.

I'm aware of zram and zswap, but there's so much conflicting info about them, I'm not sure which to try, if either. There seems to be no general consensus in the Linux communities of one being better than the other. Oftentimes the people advocating either will make a statement but give no backing evidence.

Maybe my CPU is getting overloaded too, but I think this is more of a swap issue than anything else. Linux's memory killer in play, taking down whatever it takes is using too much memory.

Statistics: Posted by Enigma83 — 2024-06-23 03:17 — Replies 0 — Views 26



Viewing all articles
Browse latest Browse all 3423

Trending Articles