Java would like to hog the couch
linuxmemes
Hint: :q!
Sister communities:
- LemmyMemes: Memes
- LemmyShitpost: Anything and everything goes.
- RISA: Star Trek memes and shitposts
Community rules (click to expand)
1. Follow the site-wide rules
- Instance-wide TOS: https://legal.lemmy.world/tos/
- Lemmy code of conduct: https://join-lemmy.org/docs/code_of_conduct.html
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!
Minimum requirements to run hello world
in Java
Once you fire up a webpage it'll just dump garbage all over the couch.
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.
What fucking e sports game need 100gb of ram...
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.
Aaaaah, that make slightly more sense? How old is the computer roughtly?
It has an i9 10980, so about 4-5 years old. It was built before I was hired.
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?
You only need 1 tab to OOM if that tab is Jira. I've literally had tabs take up more than 10GB.
Only 30 tabs, you need to bump those numbers up!
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.
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)
I mean, I doubt Kate or Geany or Vim would've closed due to OOM, but sure...
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.
There are mid range CPUs with 128MB of L3 cache now. A Linux distro like Tiny Core could fit entirely in cache.
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.
Microsoft Flight Simulator: A whole airplane on the couch
well it's in the name
"Microsoft"
yeah sure close enough! :)
Play star citizen. You'll use that up fast.
so much space for activities
Wondering how my 64gb will outlast every other part upgrade my gaming Linux box will get over the years
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.
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
Leaves Firefox running.
OOM
Like any cat, Linux is actually liquid and can flow over the whole sofa if it so chooses.
Now run Mixtral
You are not Linuxing hard enough.
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...
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.
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.
I spent years gaming on 8gb. Sure I could barely open bg3 but do I really need my 32 now?
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.
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.
But there's so much room for ACTIVITIES!!!
And on linux, so much room for cache that doesn't have to be dumped to disk!
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.