electron/electronjs.org-old

Apps section consuming too much memory?

molant opened this issue · 1 comments

Apps subpage - I left it open for a long time and it ate so much RAM, when I checked again now, the situation is that the increase in memory usage is significant over time and without interaction with the page

https://twitter.com/JaroslawJanota/status/1375522938749861894?s=20

I'm going to leave that tab open and see what happens.

From a quick search it looks like the search box is leaking memory. Maybe detached nodes that can't be reclaimed?

Steps:

  1. Load https://www.electronjs.org/apps
  2. Open Browser Task Manager and check memory consumption for that tab (in my case it was around 110,000K)
  3. Do mulitple searches, waiting each time to get the results, and wihtout navigating to any particular app. The term "dev" is a good one as it has multiple results.
  4. Clear the search box
  5. Wait a few minutes, the memory never goes back to the initial values

This is with Edge on Windows. The reporter was using Firefox and Linux so there might be something else (3GB of consumption is a lot, but I was looking at the growth of tab process only and not all the rest so it could be the root).