If you round, approximately zero users of Electron apps know how to do what you’re talking about, and yet they continue to successfully use Electron apps across a variety of platforms.
The fact that you have to finely manage your system’s memory is a you thing, not an Electron thing. The two are entirely orthogonal.
Memory is not a precious resource, no matter how much you want to live in a world where your obsessive compulsion to manage it is reasonable.