Only 500MB? Now you're being charitable.
Electron adds about 500MB to your memory requirements. If your software uses 2GB like Teams, the rest is on you.
Poorly-chosen environments also apply a multiplier to actual application memory.
Pointer-oriented languages as a rule give a 2x memory-size multiplier to everything, though higher is possible depending on how dynamic they are.
I suspect that the DOM and JS runtimes add a significant multiplier to the UI memory cost.
{"deleted":true,"id":43135125,"parent":43127273,"time":1740187354,"type":"comment"}
Sounds like schooling your even drunker mate 8 pints deep into a weekend bender.