Because the issue isn't electron, it's not freeing resources which you can do in any language/platform.
That’s still an order of magnitude worse than it should be. You don’t need 200mb of ram for a chat app.