This script disables some background services and installs an early OOM tool. I've also written an additional script you can run if your PC has the CPU of a toaster and the RAM capacity of a goldfish.
This script removes some security services, and the GNOME software utility amongst others. Please do not use this unless you're looking for a last resort. I'm not responsible for anything that goes wrong, you know the risks.
This script is relatively easy to install.
sudo -i && git clone https://github.com/matthewflegg/fedora-ram-tweak
cd fedora-ram-tweak && chmod +x lower-ram.sh
./lower-ram.sh
firewalld
gnome-calendar
libvirt-daemon
sssd-* (system security services daemon)
earlyoom
The following commands will install and run both scripts.
sudo -i && git clone https://github.com/matthewflegg/fedora-ram-tweak
cd fedora-ram-tweak && chmod +x lower-ram.sh lower-ram-extra.sh
./lower-ram.sh
./lower-ram-extra.sh
firewalld
gnome-calendar
libvirt-daemon
sssd-* (system security services daemon)
abrt* (auto bug reporting tool)
gnome-software
PackageKit
earlyoom
fwupd