I'm starting to get really tired of the problems with the high RAM usage, which blocks entirely my computers when it happens and so this is very dangerous for the data integrity
I would like to know how many of you suffer these issues?
In short, basically the 95% of the cause of this problem is by the damn-bloated browsers, they have even memory leaks with some websites until you restart them
Personally, I have 8 GB of ram in my computers, it should suffice for anything (except for browsers), but the thing is, how many people has at least 8 GB ? my computer's mom has only 1 GB, she can only open 1 web page at time, if she opens 2, computer's blocked
So I'm writing now a tool for now for my personal use, which will detect high ram usage and will also kill the browsers if reach 90%, that's much safer than lose the entire computer control and force a reboot (specially with those unreliable filesystems), maybe if this tool becomes good I could implement it by default in Elive (inside an elive daemon which takes care about the processes health)
The funny thing is that it looks like that in windows (10), there's no issues with browsers , anybody with more experience (usage) in that inoperating system can do a comparison comment?
My personal thinking about all that issue is that linux manages extremely bad the SWAP concept, it never worked as a reliable or useful thing for me, in short:
- if you enable it, you feel your desktop lagged (at least in e16), because data needes to be re-fetch everytime from disk instead of ram (wrong place location of important data like a desktop-app?)
- if you enable it, it won't save you from a block, in fact the kernel should kill the huge-consuming processes when it blocks the ram full (it was not the case recently), instead, swap will block your computer by saturation
- it looks like the data is not even saved in a minimally-linear way, when an application needs to fetch the data from swap you can hear the strong fragmentation on disks, making the reading extremely slow and so your system saturated
- it is not wise to know what memory should be "parked" and which one should be used, one thing is a loaded app in ram and another thing is a loaded secondary data