384
submitted 3 days ago* (last edited 3 days ago) by Dave@lemmy.nz to c/linuxmemes@lemmy.world

Possibly related:

screen shot of memory usage by app, showing Firefox using over 18GB of RAM

I also don't understand why every chat app needs 1GB of RAM to itself.

you are viewing a single comment's thread
view the rest of the comments
[-] Killer57@lemmy.ca 7 points 2 days ago* (last edited 2 days ago)

18gb is nothing, my Firefox regularly eats 70gb (30gb is the normal load I see after browser restart) 18gb is nothing, my Firefox regularly eats 70gb

[-] possiblylinux127@lemmy.zip 13 points 2 days ago

What are you doing to poor Firefox?

[-] SkaveRat@discuss.tchncs.de 4 points 2 days ago

Firefox with an inflation fetish

[-] prole 4 points 2 days ago

I don't know if this is something to brag about, it seems more like something isn't working right...

[-] Sivecano@lemmy.dbzer0.com 8 points 2 days ago

How do you do this? I usually have about 2k open tabs and my firefox uses a fraction of that.

[-] mexicancartel@lemmy.dbzer0.com 2 points 1 day ago

Browser restart means without any tabs? If so that is some concern

[-] Dave@lemmy.nz 2 points 2 days ago

Wait, everyone is saying cached is part of the used memory but yours shows more cached than in use?

[-] uranibaba@lemmy.world 1 points 1 day ago

https://man7.org/linux/man-pages/man5/proc_meminfo.5.html

Cached %lu

In-memory cache for files read from the disk (the page cache). Doesn't include SwapCached.

Cached should be memory stored on HDD and not RAM.

[-] Dave@lemmy.nz 2 points 1 day ago

Ah so cached is the disk cache and it sounds like this is not part of the "used" memory.

[-] uranibaba@lemmy.world 2 points 12 hours ago* (last edited 12 hours ago)

This link has more information that looks relevant: https://askubuntu.com/questions/89219/is-there-a-difference-between-swap-and-cache-memory

Disk Cache memory: This are chunks of the physical memory, the RAM, used to store files. That way when a program needs to read the file, it's fetched from memory instead of the hard disk. This is done because memory is way faster.

Swap: This is a place on the hard disk (usually a dedicated partition) that is used to store programs or data that can't fit in memory, like when a program grows more than the available memory. SWAP is way slower than RAM, so when you hit swap the computer gets slower, but at least the program can work. In linux swap is also used to hibernate, or to move low used program out of memory to allow more space to the disk cache.

this post was submitted on 06 Jun 2025
384 points (100.0% liked)

linuxmemes

25466 readers
610 users here now

Hint: :q!


Sister communities:


Community rules (click to expand)

1. Follow the site-wide rules

2. Be civil
  • Understand the difference between a joke and an insult.
  • Do not harrass or attack users for any reason. This includes using blanket terms, like "every user of thing".
  • Don't get baited into back-and-forth insults. We are not animals.
  • Leave remarks of "peasantry" to the PCMR community. If you dislike an OS/service/application, attack the thing you dislike, not the individuals who use it. Some people may not have a choice.
  • Bigotry will not be tolerated.
  • 3. Post Linux-related content
  • Including Unix and BSD.
  • Non-Linux content is acceptable as long as it makes a reference to Linux. For example, the poorly made mockery of sudo in Windows.
  • No porn, no politics, no trolling or ragebaiting.
  • 4. No recent reposts
  • Everybody uses Arch btw, can't quit Vim, <loves/tolerates/hates> systemd, and wants to interject for a moment. You can stop now.
  • 5. ๐Ÿ‡ฌ๐Ÿ‡ง Language/ัะทั‹ะบ/Sprache
  • This is primarily an English-speaking community. ๐Ÿ‡ฌ๐Ÿ‡ง๐Ÿ‡ฆ๐Ÿ‡บ๐Ÿ‡บ๐Ÿ‡ธ
  • Comments written in other languages are allowed.
  • The substance of a post should be comprehensible for people who only speak English.
  • Titles and post bodies written in other languages will be allowed, but only as long as the above rule is observed.
  • 6. (NEW!) Regarding public figuresWe all have our opinions, and certain public figures can be divisive. Keep in mind that this is a community for memes and light-hearted fun, not for airing grievances or leveling accusations.
  • Keep discussions polite and free of disparagement.
  • We are never in possession of all of the facts. Defamatory comments will not be tolerated.
  • Discussions that get too heated will be locked and offending comments removed.
  • ย 

    Please report posts and comments that break these rules!


    Important: never execute code or follow advice that you don't understand or can't verify, especially here. The word of the day is credibility. This is a meme community -- even the most helpful comments might just be shitposts that can damage your system. Be aware, be smart, don't remove France.

    founded 2 years ago
    MODERATORS