Not quite sure where to put this so put it in feedback. Been monitoring swap size with task manager. Swap drive is filling up every day with unused memory. Only use a browser (Min) once or twice a day, swappiness is set to 10 and I have 4gb RAM, 3gb of which is available to the OS.
The only way to empty the swap drive is swapoff or log out. Should the swap drive manage itself better? Thoughts?
Usually it is a good thing if swap is populated because Zorin/Ubuntu will try to move low priority stuff there so your apps that need high performance can use the RAM to the fullest extent.
Can you return screenshots of your system monitor? Sort by most RAM usage first.
Hmm I've had that happen to me with certain Steam games on a previous Linux install, not on Zorin so far... Are you running Zorin Lite or did you modify the system to get xfce? If you modified something, it's possible you did something wrong by accident which would cause a memory leak. At that point it'd be hard to pinpoint what's going on exactly.
Are you running from a HDD or SSD?
If SSD swap is not considered neccessary.
I think you are seeking help rather than feedback so will move this to the General Help section. If a "Solution" is found, that can be flagged in "General Help" but cannot be flagged in "Feedback".
I would consider reducing the swappiness down to 1, the absolute minimum without disabling it, or disabling altogether. Swap is supposed to be used to prevent the system from running out of memory when there are too many running processes. If you have a traditional HDD instead of an SSD, it can be counter productive.
You could run a script regularly that clears the swap from the drive... but this can be time consuming and cause unnecessary reads/writes on the drive; it's not the most elegant solution.
An alternative to use better use of RAM is to compress it, enabling ZRAM. This comes at the expense of increased CPU processing, but if you're only using the computer for the occasional web browsing, it's probably fine.
I am running two 20gb HDDs as swap drives. I read that using an SSD as swap was a bad idea so disabled it. I tried swappiness at zero but after a while it crashed and no swapping.
Perhaps my wording was not precise. Are you booting ZorinOS from a HDD or SDD?
You say you are using two 20GB HDD's as swap, (which to me is a bit unorthodox).
I assume everything else except swap is on a single drive, either HDD or SDD. If your Zorin install is on a SDD, then you should not need swap.
Zorin Lite is on SSD along with Win 10, and swap is on two HDD. One HDD is priority 2 and the other priority 3. # out the 2nd HDD? I have another 160 HDD which is doing nothing.
That is a little strange setup. Maybe that is the reason for the crashes: as more memory is swapped to the drives, things get out of sync and the same pieces of data are either duplicated, causing more slowdowns.
Just a thought, not sure if that is the case or how to test it. But if you are using both drives in order to get more space, I would recommend using something like LVM in order to combine the size of both drives together. To the system, it would look like one single drive.
For light usage, you should be able to get away without any swap at all. It would simplify things and it might just give you a better performance and stability overall.
This doesn't hold very true. SSDs nowadays can withstand a lot of reads and writes, including beyond their TBWs. It's not something you should be worried about.
Macs rely on swap very heavily, and they can last for a decade.
Well so far so good can load Min and Thunderbird together (2.4gb of 3.0gb RAM) and everything is snappy without swap space. Don't know if I dare open firefox just to see what happens lol. Well I opened firefox as well - locked up.
Well have settled on a 5gb swap partition on the SSD after ovo's comments about macs. Thinking about it he's right, windows has a pagefile on the same drive as the OS which is usually a SSD.