3 ms·
A hello world Electron app uses about 50 MB of memory. The problem with Electron apps is not so much Electron or Chromium but how they are designed & developed
by iamleppert 7y ago
A hello world Electron app uses about 50 MB of memory.
The problem with Electron apps is not so much Electron or Chromium but how they are designed & developed. Most developers view memory optimization as an after-thought. This is especially true for multiple document interface applications. The tooling is all there to monitor and optimize memory, but few make real memory budgets part of their build & integration testing process.
Developers have 16-32 GB of memory (or more) workstations and typically work on individual features that don’t exercise the edge cases of large datasets. They don’t bother to implement proper LRU mechanisms, paging, and often do performance optimizations that sacrifice memory for speed.
It gets worse if they aren’t forced to dog food their own creations or aren’t users of their app themselves.