this post was submitted on 01 Nov 2024
1261 points (99.5% liked)

linuxmemes

21160 readers
1472 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
     
    (page 2) 50 comments
    sorted by: hot top controversial new old
    [–] [email protected] 23 points 19 hours ago (1 children)

    Java would like to hog the couch

    [–] [email protected] 8 points 17 hours ago

    Minimum requirements to run hello world in Java

    [–] [email protected] 24 points 21 hours ago

    Once you fire up a webpage it'll just dump garbage all over the couch.

    [–] [email protected] 16 points 20 hours ago* (last edited 20 hours ago) (1 children)

    Try realizing ten thousand mesh instances in Blender and watch that sucker eat the rest of your RAM like it's got a pebble in its shoe.

    I did that on my work PC with 128 GB memory (originally built for esports shit) and it still wasn't enough.

    [–] [email protected] 8 points 19 hours ago (1 children)

    What fucking e sports game need 100gb of ram...

    [–] [email protected] 10 points 19 hours ago (1 children)

    It was also supposed to be an all-in-one recording/streaming computer for university events, and they had to use the budget for something. It ended up being used as a proxmox host for a while, then it was handed off to me. Now the most resource-intensive thing it runs is a Windows 11 VM that I ~~torture mercilessly~~ use for experiments. It rarely gets to 10% memory utilization.

    [–] [email protected] 2 points 18 hours ago* (last edited 18 hours ago) (1 children)

    Aaaaah, that make slightly more sense? How old is the computer roughtly?

    [–] [email protected] 4 points 18 hours ago* (last edited 18 hours ago)

    It has an i9 10980, so about 4-5 years old. It was built before I was hired.

    [–] [email protected] 38 points 1 day ago (10 children)

    Can't relate, just upgraded my laptop from 32GB to 64GB since VScode would keep closing due to OOM. What? Oh, no, it's not vscode's fault.....I keep like 5 Firefox windows with 30+ tabs open, like a fucking maniac..... Close them? What do you mean "close" them?

    [–] [email protected] 7 points 18 hours ago

    You only need 1 tab to OOM if that tab is Jira. I've literally had tabs take up more than 10GB.

    [–] [email protected] 18 points 23 hours ago (2 children)

    Only 30 tabs, you need to bump those numbers up!

    [–] [email protected] 7 points 18 hours ago (3 children)

    I had around 1500 open tabs in Firefox. It was fine. I figured enough was enough and closed them all. Now I close all tabs at the end of the day before shutting down.

    load more comments (3 replies)
    load more comments (1 replies)
    [–] [email protected] 8 points 23 hours ago

    When I started hitting OOMs I just downloaded free ram.

    (Modifying my zram-generator config to use 1.5x my ram size instead of the measly 4GB – uncompressed – default. Seriously it's worth looking into, though default depends on your distro)

    [–] [email protected] 1 points 16 hours ago

    I mean, I doubt Kate or Geany or Vim would've closed due to OOM, but sure...

    load more comments (6 replies)
    [–] [email protected] 66 points 1 day ago (5 children)

    I've seen builds of the Linux kernel that comfortably fits in my on-die CPU caches.

    So it would just be a picture of an empty sofa.

    [–] [email protected] 44 points 1 day ago (1 children)

    There are mid range CPUs with 128MB of L3 cache now. A Linux distro like Tiny Core could fit entirely in cache.

    [–] [email protected] 25 points 1 day ago (2 children)

    Tiny Core Linux is a minimal Linux kernel based operating system focusing on providing a base system using BusyBox and FLTK. It was developed by Robert Shingledecker, who was previously the lead developer of Damn Small Linux.

    Ah, that explains a lot! Didn't know about TCL.

    load more comments (2 replies)
    load more comments (4 replies)
    [–] [email protected] 22 points 22 hours ago (1 children)

    Microsoft Flight Simulator: A whole airplane on the couch

    [–] [email protected] 4 points 21 hours ago (1 children)
    [–] [email protected] 10 points 21 hours ago (1 children)
    [–] [email protected] 1 points 16 hours ago

    yeah sure close enough! :)

    [–] [email protected] 6 points 18 hours ago

    Play star citizen. You'll use that up fast.

    [–] [email protected] 8 points 19 hours ago

    so much space for activities

    [–] [email protected] 37 points 1 day ago (4 children)

    Wondering how my 64gb will outlast every other part upgrade my gaming Linux box will get over the years

    [–] [email protected] 7 points 1 day ago* (last edited 3 hours ago) (2 children)

    Your use case is obviously different, but I've gone years between system upgrades. I mostly do OSS coding, or work stuff; not gaming. The only case I can imagine needing to upgrade my little Ryzen with 16 cores - a laptop CPU - is if it becomes absolutely imperative that I run AI models on my desktop. Or if Rust really does become pervasive; compiling Rust programs is almost as bad as compiling Haskell, and will take over my computer for minutes at a time.

    When I got this little micro, the first thing I did was upgrade it to 64GB of RAM, because that's the one thing I think you can never have too much of; especially with the modern web and all the shit that brings with it; Electron apps, and so on, absolutely chew up memory. The one good thing about the Rust trend is better memory use, so the crappy compile times are somewhat forgiveable.

    [–] [email protected] 3 points 21 hours ago

    Somewhere around 2017 I bought an old dell precision from 2011 for $25, put a radeon rx 570 in it a few years later and used it as my main computer until last year when I finally got around to building a replacement

    load more comments (1 replies)
    load more comments (3 replies)
    [–] [email protected] 9 points 21 hours ago

    Leaves Firefox running.

    OOM

    [–] [email protected] 5 points 19 hours ago
    [–] [email protected] 12 points 23 hours ago

    Like any cat, Linux is actually liquid and can flow over the whole sofa if it so chooses.

    [–] [email protected] 8 points 21 hours ago* (last edited 21 hours ago)

    Now run Mixtral

    [–] [email protected] 8 points 22 hours ago

    You are not Linuxing hard enough.

    [–] [email protected] 12 points 1 day ago (9 children)

    Y'all need to point me towards one of those tiny Linux systems. I have an old no-longer-bricked Toshiba Satellite that somebody gave me and I got it to boot again, so I slapped Mint on it to see how I liked it since I've never messed with that distro before. The only problem is this sucker is a dog, it's only got 2 gigs of RAM and a pokey 5400 RPM platter drive in it. The thing sits there and thrashes swap constantly even when it's doing nothing, and when Mint is creating one of its automated system image rollback things it's completely unusable. I'm surprised the laptop platters don't escape their casing and bore into the Earth like a drill bit.

    I found that it will... eventually... load and run the latest FreeCAD build and once it's going it's actually not bad (awful screen resolution and single touch only trackpad notwithstanding). But getting there when taken altogether takes about 20 minutes...

    [–] [email protected] 7 points 23 hours ago (1 children)

    If you can afford it, a SSD will significant improve your life. Also, any more memory will help.

    As others said, you can disable swap.

    Are you running the xfce version of Mint? It's significantly less resources.

    [–] [email protected] 3 points 18 hours ago (1 children)

    you can disable swap.

    Be careful with disabling swap if you don't have a very large amount of RAM, as many apps rely on memory overcommitment and a large virtual address space, which can behave erratically without swap.

    You'd be better off keeping swap enabled and instead setting vm.swappiness = 0 in sysctl.conf.

    Swappiness is a value between 0 and 100, where 0 means to never swap unless absolutely necessary (only if you completely run out of RAM), and 100 means all programs and data will be swapped nearly instantly. Think of it like a target for the percentage of RAM to keep available. The default is usually 40 which is fine for a low-RAM system, but swaps way too often for a system with more RAM.

    load more comments (1 replies)
    load more comments (8 replies)
    [–] [email protected] 7 points 22 hours ago

    I spent years gaming on 8gb. Sure I could barely open bg3 but do I really need my 32 now?

    [–] [email protected] 13 points 1 day ago (6 children)

    I use a shit load of RAM on Linux. You guys clearly have amateur numbers when it comes to how many applications you have open at once.

    load more comments (6 replies)
    [–] [email protected] 4 points 20 hours ago* (last edited 20 hours ago)

    When I think back to when I marveled that one of our office's 8Gb nightly backup tapes fit in my shirt pocket - EIGHT GIGABYTES - in my POCKET!!!...

    In the future Gen ┐ will whine to their parents that their cerebral implant is only 100 terabytes.

    [–] [email protected] 4 points 20 hours ago (1 children)

    But there's so much room for ACTIVITIES!!!

    [–] [email protected] 4 points 16 hours ago

    And on linux, so much room for cache that doesn't have to be dumped to disk!

    [–] [email protected] 5 points 1 day ago* (last edited 1 day ago)

    Floppinux anyone?

    Long time ago I had a 3.5" HD floppy disk Linux with graphical user interface and ethernet and some programs on it. But 64 bit and the increased kernel size probably make this difficult nowadays.

    load more comments
    view more: ‹ prev next ›