Some language servers (e.g. PyRight) also regularly consume 2GB RAM for me when using Emacs. Also, for some languages, their IDEs are just way ahead of the competition (e.g. Java). Even for e.g. Rust CLion works really well.
(I probably use Emacs and JetBrains products 50/50. I prefer the keybindings of Doom Emacs, but prefer the JetBrains IDEs for actual development. E.g. refactoring is a lot easier.)