Linux Lite Forums

General => On Topic => Topic started by: Alan C on June 13, 2022, 07:03:25 PM

Title: Tips for Minimizing Memory USe
Post by: Alan C on June 13, 2022, 07:03:25 PM
With help from user WytWun (thanks again!) I've got LL 5.8 running on my 2016 2 GB RAM Ideapad. I really like it It's not a big deal, but I'm curious if you have tips for lowering memory use so programs open faster. I can look in TaskManager, but I'm not sure what some of the running processes do, so I hesitate to disable them. I'm not doing much with the laptop beyond office apps, web work, and lightweight apps (hello vim!). I'm not printing, using bluetooth, or anything external to the machine other than wifi.

Thanks!
Title: Re: Tips for Minimizing Memory USe
Post by: Mountain Giant on June 14, 2022, 06:00:37 AM
In Lite tweaks you have option to release ram, maybe sometimes use that?
Title: Re: Tips for Minimizing Memory USe
Post by: Moltke on June 14, 2022, 10:27:37 AM
Some services you might disable are:
1. ModemManager.service (unless you use a dial-up connection).
2. If you don't print files over the network, you can disable cups.service and cups-browsed.service.
3. If you don't use snaps, you can disable that one as well as related services. snapd.service, snapd.apparmor.service.

You can disable those by launching the terminal and running:
Code: [Select]
sudo systemctl stop name.servicethen
Code: [Select]
sudo systemctl disable name.service The first command stops the service if it's running, and the second one disables it from running at boot. Also, if possible, try upgrading storage to a SSD, this will improve startup time and responsiveness for apps hugely.

Hope this helps! :)
Title: Re: Tips for Minimizing Memory USe
Post by: Alan C on June 14, 2022, 01:05:24 PM
Thank you both. I used Lite Tweaks to free memory and also the Firefox cache. And I disabled ModemManager and cups. I wasn't running any snap services, so I didn't disable them.