Am 31.07.26 um 18:38 schrieb Robert Moskowitz via users:
I had a runaway task that eat my memory all up, and barely was able to kill it while the system was swapping away trying to live.  Now I see:

$ free
               total        used        free      shared buff/cache  available
Mem:        16216428    12187636      395764     3895004  6469616  4028792
Swap:        8388604     4372300     4016304


Is there a way to shrink the current swap size, and increase how much is available for actual use/

The system moves stuff to swap to make swapping much faster. It will stay there. In case other stuff needs to be swapped, it will be overwritten. That means that in case a large amount of RAM is in use, more and more anonymous pages (all the temporary stuff an application has that isn't on the disk) will be copied to swap and removed from RAM if the RAM is full and needed for another application.

Normal behavior.

Or is that what is happening with total mem being 16Gb, 12Gb used and 4Gb swap used?  So the system is doing its best?

4GB RAM available. Should be fine for most use cases.

I probably should reboot before next weeks work....

No need for that.

--
Gruß
Marco

Junk-Mail bitte an [email protected]

Attachment: OpenPGP_signature.asc
Description: OpenPGP digital signature

-- 
_______________________________________________
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://forge.fedoraproject.org/infra/tickets/issues/new

Reply via email to