My Ubuntu KDE installation uses ~700MB RAM at idle with a fresh login and I've been using it with Wayland for years now without the problems the author describes.
My Steam Deck KDE uses ~1.3GB, more than half of which is taken by the baloo_file_extractor process.
Apparently doing background indexing of file contents gobbles RAM. Not sure if that's the problem with the author's setup?