this post was submitted on 09 Feb 2024
126 points (95.7% liked)

linuxmemes

24840 readers
455 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
     

    this is the first time in many years of my GNU/Linux journey that I saw a BSOD. on my office machine BTW. personal machine has never crashed even once.
    the crash was due to 100% RAM and swap usage.

    image description:
    a mobile-clicked photo of a laptop screen. the background is full black with a sad computer image in the middle. the text below it reads: "Oh no! something has gone wrong. A problem has occurred and the system can't recover. Please log out and try again."
    just below it is a small button with the text "log out"

    you are viewing a single comment's thread
    view the rest of the comments
    [–] OsrsNeedsF2P@lemmy.ml 30 points 1 year ago (5 children)

    100% RAM is a huge pain on Linux. I have a widget in my taskbar that always shows my RAM usage so I can tell if I'm about to get doinked

    [–] squid_slime@lemmy.world 9 points 1 year ago (3 children)

    Same, what usually spikes yours to 100%?

    [–] grue@lemmy.world 13 points 1 year ago (1 children)

    Up until yesterday I would've said "Firefox" (because I hoard tabs), but it turns the real answer was "Firefox running as a Snap."

    (A failed update screwed up my Snap installation, which finally gave me the kick I needed to quit procrastinating and excise it from my system once and for all. I'm running Firefox installed via apt package from Mozilla's PPA, and now -- with the same number of tabs open -- my system is hovering around 8 GB memory usage, when before it was constantly bouncing off the 32 GB redline.)

    [–] PainInTheAES@lemmy.world 2 points 1 year ago (1 children)

    Firefox somewhat regularly crashes or freezes up my laptop (16Gb) due to memory usage and I'm running the default Arch package. I ended up installing a memory watchdog that kills processes when they start using too much. Although I do hoard tabs.

    [–] Holzkohlen@feddit.de 1 points 1 year ago (1 children)

    I mean there is a kernel OOM killer and a systemd service that acts well before that. Do you not use systemd?

    [–] PainInTheAES@lemmy.world 1 points 1 year ago

    I do use systemd. I pretty much run stock EndeavorOS

    [–] OsrsNeedsF2P@lemmy.ml 5 points 1 year ago* (last edited 1 year ago) (2 children)

    Carelessly running too many programs and not having much RAM.

    When I get my Framework 16, I'll either get 64 or 128GBs of RAM. It's so cheap nowadays, the only thing stopping me from getting more is simply the increased time to go to sleep and wake up.

    [–] squid_slime@lemmy.world 6 points 1 year ago* (last edited 1 year ago) (1 children)

    Tends to be mem leak in bad code for me

    [–] erev@lemmy.world 5 points 1 year ago (1 children)

    Yeah i only get near 100% when I'm doing a lot of virtualization or running nyx for a long time since there's a memory leak in there.

    [–] squid_slime@lemmy.world 0 points 1 year ago (1 children)

    Wouldn't of thought nyx would be unstable.

    [–] erev@lemmy.world 2 points 1 year ago

    Not unstable nor unreliable, just a bit buggy. Every so often you gotta do a quick qq to exit and wait up to 5 minutes for it to let go of the ram. On occasion I've had to terminate the process as it was doing something wacky.

    [–] possiblylinux127@lemmy.zip 2 points 1 year ago

    I have 16 GB and it feels like a lot. I run virtual machines and I still have leftovers

    [–] darganon@lemmy.world 2 points 1 year ago (1 children)

    Manipulating gigantic log files can do it for me.

    [–] squid_slime@lemmy.world 1 points 1 year ago

    You know your in for a good time when notepad give a warning before hand, ive run into this before filling my 32gb of ram.

    [–] exu@feditown.com 1 points 1 year ago

    There are automated memory killers that should avoid this. I'm using nohang, but systemd also has some module for this.

    [–] lemmesay@discuss.tchncs.de 1 points 1 year ago

    same! I have a nice icon next to it on my i3 status bar.

    [–] Honytawk@lemmy.zip 1 points 1 year ago (1 children)

    Doesn't Linux have some sort of Page File?

    [–] possiblylinux127@lemmy.zip 4 points 1 year ago (1 children)

    Its not a dedicated file usually as you can setup a swap partition.

    [–] acockworkorange@mander.xyz 1 points 1 year ago (1 children)

    Technically you can create a fixed size pagefile in your disk and mount it as swap workout repartitioning. But Linux doesn't use swap much regardless of method.

    [–] possiblylinux127@lemmy.zip 1 points 1 year ago

    It only uses swap under memory pressure. You can configure your swappyness if you want it to be more aggressive