On 8/3/24 10:52, Craig Sanders via luv-main wrote:
16GB isn't a lot these days. My guess is you're most likely running out of
RAM. The best solution is to add more RAM to the system if possible.
That is not possible with this model. The strange thing is that this
behavior is recent. Running applications concurrently has never been an
issue. Unless there is something bloaty about an update this issue
should never happen....but.....
Adding more swap space (a swap file will do if you can't repartition the
drive) can reduce the risk of out-of-memory crashes due to temporary
short-term spikes in usage (perhaps from things like fossilize_replay). Note
that adding more swap is a cheap, easy bandaid - it's worth doing but it
doesn't actually solve the problem. You won't want to be using a system that's
constantly swapping stuff in and out of RAM.
I started to take notice of the swap file using: swapon -s
I rebooted and kept on refreshing the terminal command whilst I opened
tabs and applications in between.
What I noticed was that the system chewed away at the swap to the tune
of 2GB (its Max).
Iv'e increased the swap to 4GB:
webgen@webgen-01:~$ sudo swapon -s
Filename Type Size Used Priority
/swapfile file 4194300 0 -2
I am currently running:
- Terminal
- Thunderbird
- GIMP
- Visual Code
- System Monitor GUI
- Firefox
- Chrome
- Steam
...I will see how this goes *
Thanks
P
* I don't work like this I'm just opening whatever to see if I can have
it consume some swap.
Commands to change swap size:
sudo swapoff -a
sudo rm /swapfile
sudo fallocate -l 4G /swapfile
sudo chmod 600 /swapfile
sudo mkswap /swapfile
sudo swapon /swapfile
There was already an entry in fstab so I just rebooted after that.
10 minutes later:
webgen@webgen-01:~$ sudo swapon -s
Filename Type Size Used Priority
/swapfile file 4194300 256 -2
_______________________________________________
luv-main mailing list -- [email protected]
To unsubscribe send an email to [email protected]