> On 27 Oct 2025, at 06:35, Tim via users <[email protected]> wrote:
> 
> When faced by the complete bog-down when something like Firefox started
> paging, it struck me that too many applications expect unlimited memory
> access, instead of handling things some other way.  It could take a
> prolonged fight to wrest control back once that started to happen. 
> Which didn't help by the keyboard and mouse not having enough priority
> against other things.

Having zram-paging helps a lot, but is not a solution to not having enough 
memory
for the work load you want to run. If you can add memory to your system.

The OOM (out-of-memory) killer running to kill off processes that are using 
lots of memory
is the last back stop.

Paging to HDD or SSD with not stop the freezes, but may allow you to continue 
after
idle pages have been paged out if OOM does not kill processes first.

The kernel is configed to over-commit memory. That is to say allow processes to 
allocate
more memory then the system has. The memory is only actually allocated by the 
kernel with it's
written to or read by the process. In practice this works very well most of the 
time.

You can configure the kernel to no longer over-commit, but expect processes 
that run happily
today to start remove failed-to-allocate-memory errors.

Barry

-- 
_______________________________________________
users mailing list -- [email protected]
To unsubscribe send an email to [email protected]
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/[email protected]
Do not reply to spam, report it: 
https://pagure.io/fedora-infrastructure/new_issue

Reply via email to