Answer the question
In order to leave comments, you need to log in
In ubuntu, you can make some kind of notification, something like “RAM is running out”, and the use of the swap begins?
Hello. The laptop has 16 GB of RAM, which is enough. But from time to time, browsers get too fat, and so that everything does not hang tightly, you have to insure with a paging file. And for ssd it's not good for sure. I made a swap file for 4 GB, swappiness
installed 3, so that it would not pull it once again. And now I’m actually interested, is it possible to somehow turn on some kind of notification that the RAM is almost full?
Answer the question
In order to leave comments, you need to log in
And now I’m actually interested, is it possible to somehow turn on some kind of notification that the RAM is almost full?
while :;do if ;then notify-send 'Палундра' "Приближается пушистый северный зверёк";fi;sleep 1;done
But from time to time, browsers get too fat, and so that everything does not hang tightly, you have to insure with a paging file.
Why Linux Uses a Swap File
Why Linux Uses a Swap File, Part 2
In Defense of Swap [on Linux]: Common Misconceptions
Why create a paging file at all???!!!
If I'm not mistaken, since 17.10 they have abandoned the mandatory creation of a SWAP partition and made it so that the system itself creates a swap file if necessary.
And considering that you have 16 GB, then I think it is not created automatically at all.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question