I was thinking about this recently. If you discount web/electron bloat, actually the memory bloat of software isn't hugely terrible.
I still often notice that servers on Linux use <1GB of RAM even with relatively high use. I don't think that's really changed massively in 20 years.