Annotator memory leak

This is copied from this issue, but I have posted it here as it seems issues reported there are not looked at often

Describe the bug
After using the annotator with label assist for a while, the memory usage gets very large. The annotator becomes sluggish, eventually freezing altogether.
As said by narugo1992, windows does not crash. The memory leak still occurs on windows, but the annotator does not slow, freeze, or crash.

To Reproduce
Steps to reproduce the behavior:

  1. Open the annotator
  2. Enable Label Assist
  3. Annotate for a while

Expected behavior
The memory usage stays low, and the annotator does not slow down after time.

Evidence


Desktop (please complete the following information):

  • OS: Fedora 38
  • Browser: Google Chrome Version 115.0.5790.110 and Firefox 115.0.2

Hi @Alec_Jensen

Thank you for letting us know! We appreciate it. I’m going to change the category to Feedback and let the team know.

Update: it also crashes on windows, it just seems like windows has a higher memory limit before crashing.

Is this also related to really laggy labelling when there are 100+ labels on an image? (sometimes it takes multiple seconds when I click before it starts drawing a polygon) And is there a fix for this yet?

I don’t know if it’s related. But the problem still isn’t fixed.

Hey is there any update? This issue is still happening for me.