-
Notifications
You must be signed in to change notification settings - Fork 213
Open
Labels
frontendRequires a change to the UIRequires a change to the UIperformancePerformance, benchmarkingPerformance, benchmarking
Description
There is a small but reproducible memory leak when unloading the entities map. This may also impact other uses of the map such as submissions but I haven't tested that.
Reproduction
- Load Chrome (it has the best memory dev tools)
- Select a project and entity which has a map
- Trigger GC and take a Heap Snapshot
- Click on the map button
- Click on the table button
- Repeat steps 4 and 5 five times
- Trigger GC and take a Heap Snapshot again
- Use the comparison view to compare to snapshot 1
- Order by "# delta" and find objects with a delta of a multiple of five
Result
- Snapshot 1 is 16.7MB and snapshot 2 is 17.6MB (+0.9MB or ~0.2MB per load).
- Some objects are being retained, eg: 100
DOMRectReadOnlyobjects
More info
- Slack conversation
- Similar WebForms issue one component of which was a leak in OL maps and might have the same solution as this
Metadata
Metadata
Assignees
Labels
frontendRequires a change to the UIRequires a change to the UIperformancePerformance, benchmarkingPerformance, benchmarking