You’ve clearly never lived with a cat. Your metaphor is crushed by the Kitty Expansion Theory: No piece of furniture is large enough for a cat and any other additional being.
Caching be like
Caching do indeed be like.
Exactly. That kitty encompasses and rules over aaaalllll that couch. Surfaces and interior volume (as soon as he discovers it). No room for anybody else. Just ask him.
My cat would just extend perpendicular to the length of my bed so i have enough space to decide to sit on one of the two remaining sides of the bed.
The kitty expansion theory is incomplete, any piece of furniture is large enough for both a cat and an additional being provided the additional being was there first
I have 32GB and regularly fill both that and my swap space to the point where my system freezes up and i have to restart.
i am quite tabby though. And vscode has become quite a memory hog and i usually have several of those open too as i work across different projects
You use Chrome for everything including writing code and notes. Different outcome was unexpected really.
well, i use firefox for my browsing but yes i get your point
You might benefit from installing earlyoom. It’ll kill some of your processes before the system freezes from running out of memory.
Appreciate this. I have a Chromebook running Garuda with only 4gb of RAM, and if I get too much going the system locks up. This might help it handle things better.
thanks, i’ll take a look.
I was getting to the point of writing something for it
I have this misunderstanding even if I use Linux a lot that when I work for a long time with a lot of things opened… my RAM fill up and never get down.
I heard it had to do with swap, can you quickly explain why?
There’s no benefit in having RAM sitting idle and empty. Si Linux caches a lot of things.
Its more likely caching. They just keep the cache of files opened earlier so that its ready for you if you need it immediately again. Also unused ram is wasted ram
Its more likely caching.
Pagecache doesn’t count towards used ram.
Also unused ram is wasted ram
Uninstall ram sticks to not waste them.
Yes it won’t count used ram. But the other person has a “feeling” that linux uses the same ram even when he quit the apps. So that may count.
Use RAM efficiently. There is no point in freeing all ram
If that picture was of a Windows installation, Windows would be a Sumo Wrestler instead of a kitten.
I have a laptop that windows is frozen on and won’t load. How to I install Linux on the laptop? Anyway to wipe hard drive without loading windows?
Boot the laptop from a USB memory stick that has a Linux installer on it.
Okay I try that. Where do I find Linux to download?
Linux mint is the most agreed upon dstro for newbies. You can find it in here: https://linuxmint.com/edition.php?id=311
You can follow the official guide to help with installation: https://linuxmint-installation-guide.readthedocs.io/en/latest/burn.html
There are also a lot of tutorials online, and if needed, you can come to the linux communities on lemmy for help
Thank you so much. Truly appreciate this information.
Sumo on a kitty bed
I use both Fedora (daily driver) and Windows 11 Pro (gaming), and Windows doesn’t use much more RAM honestly. Fedora uses currently 10.5 GB of RAM with Firefox, Spotify, Plex, and Telegram running (looks like a couple of YouTube tabs in Firefox are having a party here with 1 GB of used RAM for three tabs…), and Windows is typically only 1-2 GB above this with the same type of usage. I have never maxed out my 32 GB of RAM on either OSs.
You have a lot of ram, linux will try to use most of it, it’s a normal thing. There’s a huge difference from using a large amount of ram when available to NEEDING that amount to run.Try installing both OSes on a machine with 4gb, and see the difference between them. One will be usable, while the other will have a poor performance. You can even push it harder with a 1gb machine. Linux will provide a system with basic functionality, while windows will be unusable.
I have the same setup - Fedora daily driver and Windows 11 Pro. I recently switched from Windows daily driver and it’s crazy how much better my laptop runs with Fedora. Processor temp and RAM usage are both less than half of what they were on Windows.
Kid named programs above OS-level:
That’s nice… if you only plan to run a bare operating system. Try processing some big-ass data files with R.
Me on my 32GB ThinkPad that spends 99% of its time running only a browser and email client
General rule of thumb with building systems - “you never know…” so better safe than sorry.
Yeah, but when it comes to RAM and Storage, the other golden rule is that the longer you delay your upgrade the cheaper it will be (assuming you’ll even need it) or the more you can get for the same money.
So there are two competing pulls in this.
The other day I got a Mini PC to use as a home server (including as media server with Kodi).
It has 8GB of RAM, came with some Windows (10 or 11), didn’t even try it and wiped it out, put Lubunto on it and a bunch of services along with Kodi.
Even though it’s running X in order to have Kodi there and Firefox is open and everything, it’s using slightly over 2GB of RAM.
I keep wanting to upgrade it to 16 GB, because, you know, I just like mucking about with hardware and there’s the whole new toy feeling, but I look at the memory usage and just can’t bring myself around to do it just for fun, as it would be a completelly useless upgrade and not even bright eyed uuh, shinny me can convince adult me to waste 60 bucks on something so utterly completelly useless.
I wish. I use vscode which sucks up most of my resources (basically a terribly inefficient IDE running on elotron…). 32gb and it still not enough to run my dev environment decently.
Hate to type this but mate, skill issue. If its taking that much memory check your addons because you fucked up somewhere. I use it with several debugging and linting addons and it runs on a virtual remote desktop where I’m lucky if I have 4GB to share between vscode and the browser with 20 tabs open.
Maybe your issue is thst you ran heavy programs through the vscode console and those registered in the task manager as vscode? Idk, but either way, skill issue :P
The reason vscode is so popular is because it is far more efficient than the electron app it’s based on. Atom was slow and the worst resource hog I’ve ever seen.
The plugin ecosystem and great built-in support for the most popular languages keep it popular.
VS Code wasn’t based on Atom. It was written from scratch. The system architecture is very different.
VS Code uses Electron, but all the heavy stuff is running in separate threads or processes, which is why it feels faster than some other Electron apps.
Unfortunately, many Electron apps break the #1 rule of desktop app development: Never do any heavy processing on the UI thread. Any Electron app that does heavy-ish processing really needs to use node:worker_threads or something similar, plus a UI library like React that can prioritise handling of user actions over rendering other parts of the UI.
(basically a terribly inefficient IDE
Hard disagree
Do not underestimate the ram needed just by the lsp. I switch from vscode to nvim, and for some project 8gb is not enough due to that : that part of the memory consumption is sadly not editor-dependant :/
I use neovim (btw) and have it kitted out like a full IDE and it uses about 1gb of RAM at most to run a project. Crazy how much RAM static analysis takes.
my tandy sensation didn’t need more than 4mb of ram
4GB? I think you should clean up a little, do a like debloating
me a hard KVM user need a lot of RAM
I actually downgraded my Laptop from 16 to 8 gig DDR3L and did not spot a difference
Current 4 year old laptop with 128GB of ECC RAM is wonderful and is used all the time with simulations, LLMs, ML modelling, and the real heavy lifter, Google Chrome.
What 4 year old laptop can handle that much RAM?
a w520 from 2012 can run 32gb of ram natively. It has 4 socketed ram slots.
More than likely some form of cursed engineering laptop lol, that or a shitpost.
Most modern laptops can do 64 gb of ddr4. It’s expensive but doable. Like most U series CPUs are limited at 64 gb. Something with a xeon mobile chip will probably see a lot more.
yeah, we’ve seen non mobile chips being used in laptops before, that could very well be the case for that machine as well.
Would be expensive as fuck and a flagship machine, but for an engineer working on cad and simulations, it’s about what you’re going to get.
Xeon mobile is something else entirely. It’s a laptop chip. Something like this
yeah, i was just pointing out that we’ve seen desktop chips in laptops before, it’s not common, but it has happened, and will likely continue to happen.
Dell 7740 Workstation laptop. Has a Xeon processor and a 16GB Quadro video card as well. 5 M2 slots so I currently have 36TB of SSD as well. 4k screen, physical privacy shutter camera, actual buttons for the trackpad. I love this thing.
I bet it also cost a ton as well lol. Well I’m jealous now.
It cost about a tenth of its weight in gold… So I guess that’s a deal?
The cat is the Rimworld mod with a hefty memory leak yesterday. 32 GB was full in seconds. But it gave me enough time to find the culprit and kill Rimworld without trashing my session every time.
Tip: Alt+SysRq+F to force an OOM kill. It’ll usually target the leaking process.
Thanks! But where is the SysRq key?
Print Screen
Oh. Thanks!
You haven’t tried compiling unreal engine or clicking too often on subsurface subdivision in Blender. But yeah you don’t need it for playing games.