It's the web browser and electron based apps that are the primary consumers of ram on my desktops with the DE and OS ram usage being minimal by comparison.
I have an ancient laptop from 2008 with 4GB of ram that runs a modern KDE desktop and related applications just fine that I use for troubleshooting stuff. However, the moment I open a web browser it basically falls to pieces.
> I have an ancient laptop from 2008 with 4GB of ram that runs a modern KDE desktop
Try Alpine Linux, with Xfce which can do most of the same things. Then enable swap compression -- add this to the end of the kernel line in your bootloader:
zswap.enabled=1
This compresses everything going to swap, and decompresses it coming back: less disk reads and writes, and less space used.
4GB still seems excessive, by at least one and probably several orders of magnitude, for what vanilla KDE actually does: browse files, manage windows, and edit text. And KDE is one of the best modern options.
I have an ancient laptop from 2008 with 4GB of ram that runs a modern KDE desktop and related applications just fine that I use for troubleshooting stuff. However, the moment I open a web browser it basically falls to pieces.
I hate everything about this. :-/