Do I Need Swap or ZRam with 128GB of RAM?

0
14
Asked By TechieTurtle42 On

I'm wondering whether I really need to use Swap or ZRam when I have 128GB of RAM that I rarely fill up. I've seen a lot of different opinions on this topic and would appreciate a clear answer about whether I should enable or disable it. Currently, I have a Swap size of 128GB, the same as my RAM, but it seems like a waste of storage if I don't need it.

5 Answers

Answered By MemoryMaster88 On

If you don't plan to hibernate, then you likely won't need it. I've found that on most systems, managing without Swap isn't an issue as long as you're not pushing your RAM to its limits too often.

Answered By RamblingRambler On

You might not need it, but many argue that systems benefit from having some Swap available. If you fill up your RAM, the OS could start killing processes randomly, which isn't ideal. Setting up ZRam as your first line for Swap makes sense, even with 128GB RAM.

Answered By GadgetGuru99 On

Technically, you shouldn't need Swap unless you're using hibernation. However, having a little Swap can safeguard against unexpected memory leaks and system lockups due to out-of-memory errors. I'd say a size between 8GB and 32GB is generally sufficient for most users.

Answered By ByteBandit07 On

Honestly, you don't actually need Swap or ZRam unless you're running some very memory-intensive tasks. I've gone without Swap on my 8GB laptop, and it worked fine, so if you're not filling your RAM much, disabling it might free up storage.

Answered By DataDynamo11 On

Many suggest keeping a small amount of Swap just in case! You could disable your current Swap partition and maybe create a lightweight 4GB Swap file instead for some buffer without sacrificing too much storage.

Related Questions

LEAVE A REPLY

Please enter your comment!
Please enter your name here

This site uses Akismet to reduce spam. Learn how your comment data is processed.