I have macbook air with M1 chip, I wish I could change to linux but unfortunately I cant so I try to stick as much as possible to using open source on macos. But i cant understand why FOSS apps take up so much space in memory. I’m even getting messages that says that I dont have space left in memory and i must close apps, and I thought that chip M1 was enough with 8gb of ram. I send a pic of my memory usage.

  • linuxPIPEpower@discuss.tchncs.de
    link
    fedilink
    arrow-up
    0
    ·
    11 months ago

    I am not one of these people who’s constantly surveilling RAM. But I look at it occasionally and I don’t really see anything unexpected in your screenshot. Maybe you could load up comparable non open source applications doing the same task and show the comparison? How does Safari or Edge do if you create a comparable session?

    Right now on my linux computer, Firefox is using 1 GB of RAM. I have lots of tabs open so that’s typical. Sometimes it is higher. You are using logsec, zotero and libreoffice which suggests you are conducting research and writing. So I will guess you also have lots of tabs. And maybe browser extensions? The zotero web clipper that looks at every page you load to see if it is scrapeable? Maybe a markdown clipper doing same thing?.. And there is a good chance those other applications are working with a lot of data like your whole citation database, whatever you are writing etc. Do you have any of those zotero extensions that do all kinds of fancy stuff to the items you add? Not to mention Thunderbird and whatsapp. It is a lot of stuff for the computer to do.

    In firefox (and presumably librewolf) you can go to about:processes to see exactly what is going on. This page with your thread is using 59 MB. Also you can go to about:unloads which has a rudimentary method to remove background tabs from memory. With only 8gb of RAM you should make a habit of this. You can also get extensions with more sophisticated unloading methods and that might be worthwhile for you.

    All that said, I think an 8GB RAM machine is likely under-powered for your task. To be fair I am making assumptions based on the applications you have open. because when I have those sorts of applications open, I am typically being quite demanding of the computer. Opening documents, converting filetypes, scraping metadata, OCR, passing information between applications, interacting with databases, drafting documents, searching email archives… and lots of tabs.

    I am really surprised that Apple would sell a laptop-type device with only 8gb in the modern era. I always think of them as expensive but good hardware (if you are using them the way Apple intends). If my assumptions about your work are correct, life will improve if you can scrape up some more RAM.