the fact that discord can use 1.5GB of memory WITHOUT having a memory leak is frankly unacceptable and anyone who helped make it that way should be ashamed of themselves tbh

at this point we just need to shame anyone who even THINKS of doing this. I am fully serious.

based on the current price of DDR4-3200 2x8GB from pc part picker, which is roughly what I have in my computer, that 1.5GB of memory costs $16.4 USD (using a price of $175 for 2x8GB).
for DDR5-6000 2x16GB (which seems to be a common speed), it costs $25.7 USD.

I think that if an application is using electron and is using anywhere near that much memory, the developers should be forced to pay every user of that application that much money to ensure they have enough ram.

shitty applications have a cost on users. a cost that drives up the price of computers. a cost that causes people to need to replace devices every couple of years. a cost that means people can't run multiple things at once.

figure out a way to make your application use less memory, or don't develop it in the first place.

I mean, fuck, my desktop has 48GB of ram and I'm STILL running out of memory and OOMing causing the kernel to kill processes.

yes, part of that is probably because I have 2.2k tabs open, but still. optimize your god damn applications.

but tbh firefox is actually rather good with that many tabs. much better than chromium is. chromium would eat all my memory aggressively caching things in the background.
firefox is using only 16GB for that.

minus the fact there's a memory leak somewhere in the gpu code causing the "GPU" process to eventually balloon to like 8GB. but that's also likely because I'm using a dev build and it's probably been fixed in later versions.
I just don't want to update bc doing so requires doing a full system update and I'm too lazy to do that rn lol