127
submitted 6 months ago* (last edited 6 months ago) by morrowind@lemmy.ml to c/linux@lemmy.ml
you are viewing a single comment's thread
view the rest of the comments
[-] hallettj@leminal.space 20 points 6 months ago* (last edited 6 months ago)

When niri runs applications it will now put them into transient systemd scopes. One concrete benefit is that when an application uses too much RAM and systemd-oomd kills it, niri won't go down alongside the app, so the rest of your session will stay intact.

Does Gnome do this? I've certainly had my entire session crash when a certain LSP server used up all of my memory. I appreciate this feature!

I think it's time for me to try Niri as my main WM. The main thing I want to figure out is getting XWayland going so my Wine games will work. I know there is info on this in the Niri docs, so I'll start there.

Edit: The key to getting the games working is gamescope! It runs a nested X session. Lutris does not work without X, but Bottles does and it has a handy gamescope checkbox in the bottle settings.

[-] ryannathans@aussie.zone 4 points 6 months ago

Running out of system memory is such a 2000s and chromium thing

[-] gamma@programming.dev 6 points 6 months ago

8GB memory + two Firefox profiles makes things difficult on my laptop.

[-] YodaDaCoda@aussie.zone 3 points 6 months ago

16gb memory + 2 Firefox profiles + vscode makes things difficult on my laptop. Web stuff is so memory heavy

[-] GolfNovemberUniform@lemmy.ml 3 points 6 months ago

It is not, especially when you're compiling something

[-] ryannathans@aussie.zone 1 points 6 months ago

I work on a codebase larger than the linux kernel and firefox combined and still don't come remotely close to running out of memory on my laptop

[-] hallettj@leminal.space 6 points 6 months ago

That's great, but yours is not the universal experience since different tasks have different RAM requirements, even within the realm of programming. I had RAM shortages when I was running the Haskell LSP server and compiler at the same time on a largish project. Haskell's type checker does a lot more than other mainstream languages' which is how it delivers such strong correctness guarantees. You trade RAM for scrutiny. Then the LSP server has to be fast so it has to do a lot of caching, and you get an additional trade of yet more RAM for speed.

[-] ryannathans@aussie.zone 2 points 6 months ago

Sure, if you're in very specific workflows, but with how cheap memory is, zram, etc it's hardly a problem anymore for the everyday user

[-] pingveno@lemmy.ml 2 points 6 months ago

Yes, but some of us aren't the everyday user.

[-] GolfNovemberUniform@lemmy.ml 1 points 6 months ago* (last edited 6 months ago)

Idk about that. I was talking mostly about Android

this post was submitted on 10 Mar 2024
127 points (100.0% liked)

Linux

47344 readers
1072 users here now

From Wikipedia, the free encyclopedia

Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).

Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word "Linux" in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.

Rules

Related Communities

Community icon by Alpár-Etele Méder, licensed under CC BY 3.0

founded 5 years ago
MODERATORS