OSes don't load the full executable into physical RAM, only the pages in the working set. Most of the Zed executable's size is tree-sitter code for all the supported languages, and only needs to page in if those languages are being used in a project.
I'll be very grateful if you stopped using all my RAM for two buttons and a scrollbar thank you.