this post was submitted on 09 Feb 2024
124 points (95.6% liked)

linuxmemes

21263 readers
985 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 members of the community for any reason.
  • 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.
  • These rules are somewhat loosened when the subject is a public figure. Still, do not attack their person or incite harrassment.
  • 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. Even if you watch it on a Linux machine.
  • 4. No recent reposts
  • Everybody uses Arch btw, can't quit Vim, and wants to interject for a moment. You can stop now.

  • Please report posts and comments that break these rules!

    founded 1 year 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"

    top 50 comments
    sorted by: hot top controversial new old
    [–] InstallGentoo@lemmy.zip 56 points 9 months ago

    You've been gnomed

    [–] Floshie@lemmy.blahaj.zone 43 points 9 months ago (3 children)

    Who uses ram anyway. Go buy yourself an HDD of 12TB of swap partition

    [–] Kusimulkku@lemm.ee 23 points 9 months ago (1 children)

    Cloud is the future. Mount Google Drive as your swap

    [–] YoorWeb@lemmy.world 10 points 9 months ago (1 children)

    Oh shit guys we just downloaded more RAM

    [–] ignotum@lemmy.world 6 points 9 months ago

    What if they have more than one pc? Are they supposed to buy a harddrive for each?

    Get yourself a NAS and use that for swap, much easier to share between devices!

    [–] bartolomeo@suppo.fi 1 points 9 months ago (1 children)

    How do you get it to actually swap? I tried changing swapiness but it still hardly touches swap but maxes out ram and freezes.

    [–] Floshie@lemmy.blahaj.zone 1 points 9 months ago

    To be frank, I don't actually know. I've had one or two times where my ram was maxed out because I used too many VMs but I barely remember

    [–] OsrsNeedsF2P@lemmy.ml 29 points 9 months 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 9 months ago (3 children)

    Same, what usually spikes yours to 100%?

    [–] grue@lemmy.world 13 points 9 months 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 9 months 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 9 months 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?

    load more comments (1 replies)
    [–] OsrsNeedsF2P@lemmy.ml 5 points 9 months ago* (last edited 9 months 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 9 months ago* (last edited 9 months ago) (1 children)

    Tends to be mem leak in bad code for me

    [–] erev@lemmy.world 5 points 9 months ago (2 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.

    load more comments (2 replies)
    [–] possiblylinux127@lemmy.zip 2 points 9 months 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 9 months ago (1 children)

    Manipulating gigantic log files can do it for me.

    [–] squid_slime@lemmy.world 1 points 9 months 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.

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

    Doesn't Linux have some sort of Page File?

    [–] possiblylinux127@lemmy.zip 4 points 9 months ago (2 children)

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

    load more comments (2 replies)
    [–] exu@feditown.com 1 points 8 months 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 9 months ago

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

    [–] SteveTech@programming.dev 27 points 9 months ago (1 children)

    The cool part is, the kernel and most of the user space is still running fine, so there's no restart required (although I would anyway), it's just gnome is having issues.

    I've had dodgy hardware cause a kernel panic, which is much more equivalent to a Windows BSOD.

    [–] lemmesay@discuss.tchncs.de 5 points 9 months ago (1 children)

    I think I made it work too much. i'm running 23.10(non-LTS), hadn't shut it down for weeks, and was hoarding close to 200 tabs. furthermore, I had 3-4 electron-based applications open.

    [–] caseyweederman@lemmy.ca 6 points 9 months ago (1 children)

    That's not a problem. Especially because modern tabs hibernate. Linux can go forever without restarting, to the point where there are multiple services cropping up that let you upgrade your kernel while it's running, so you never have to reboot (mostly, in some edge cases it's still recommended to reboot).

    [–] caseyweederman@lemmy.ca 3 points 9 months ago

    Oh yeah but like... Swap. And stuff.

    [–] dust_accelerator@discuss.tchncs.de 19 points 9 months ago

    Failed to allocate 17.3 TiB of memory

    [–] eya@lemmy.dbzer0.com 16 points 9 months ago (1 children)
    [–] tomcatt360@lemmy.world 9 points 9 months ago (3 children)

    Oooh, this blokes found a beauty! I haven't seen one of those since I used an Eee PC with Debian as my daily driver. It has a whopping 1, I repeat, ONE GIGAbyte of RAM.

    [–] lemmesay@discuss.tchncs.de 7 points 9 months ago

    Debian is just rock solid. no matter if you use it on 1 or 16gb, it just doesn't die.

    [–] rockhandle@lemm.ee 2 points 9 months ago

    1gb?! Is this some kinda futuristic alien tech?

    [–] possiblylinux127@lemmy.zip 2 points 9 months ago

    1 GB is fine for web browsing. Just make sure you have some swap and a SSD.

    [–] z00s@lemmy.world 8 points 9 months ago

    That's not a blue screen, that's a boo screen

    [–] Honytawk@lemmy.zip 3 points 9 months ago

    Doesn't it show an error code?

    [–] terminhell@lemmy.dbzer0.com 2 points 9 months ago (1 children)

    Is ai creating alt text now?

    Also, ya no system is crash proof =(

    [–] lemmesay@discuss.tchncs.de 5 points 9 months ago (1 children)

    should I be honoured or concerned that i'm being compared to AI? I wanted it to be descriptive.
    also, facebook has been generating alt text using AI for years now. you can see the same on unsplash.

    [–] terminhell@lemmy.dbzer0.com 2 points 9 months ago

    Just saying that it kinda reads. Like an ai prompt

    [–] evidences@lemmy.world 2 points 9 months ago (1 children)

    My very first experience with installing Ubuntu was a complete failure because I just got constant kernal panics. This was 2007ish trying to install Ubuntu on a bondi blue iMac using CD I had ordered from Canonical.

    [–] lemmesay@discuss.tchncs.de 3 points 9 months ago (1 children)
    [–] evidences@lemmy.world 1 points 9 months ago (1 children)

    I'm still on windows on my dekstop, I have a handful of boxes running various forms of Linux but I'm mainly just here for the memes.

    [–] tubbadu@lemmy.kde.social 1 points 9 months ago

    Don't let the differences divide us, let's unite under the memes!

    [–] _Atlas_@lemmy.world 2 points 9 months ago

    I literary had this problem today!!! What I did to fix, and I'm not sure which one of these it is, but I ran all of these and I got it to work again

    sudo apt install --fix-broken

    sudo apt-get update && sudo apt-get upgrade

    sudo apt install --reinstall gnome

    sudo apt install --reinstall xorg

    sudo apt install --fix-missing

    sudo apt autoremove

    load more comments
    view more: next ›