-
-
Notifications
You must be signed in to change notification settings - Fork 44
Description
After a 2 hour run of all our mocks except gl* and mapbox* using test/image-make_baseline.js (351 mocks, taking about 55 seconds per run), against image-exporter running as an imageserver in a Docker container, memory usage grew steadily:
https://plot.ly/%7EJodyMcintyre/2209/

When the run was stopped, memory usage decreased a bit then leveled out.
Examination of ps results showed that two electron processes (probably the plot image and plot thumbnail processes) were responsible for the memory usage:
A similar issue was observed in a 12 hour run of 3 imageservers in our staging environment:
As a workaround for this issue we could restart Electron after a reasonably large number of requests (e.g. 1,000). I'm going to look into this but a fix for the root cause is needed at some point.

