Description
Hi,
In addition to #150, there is a significant performance issue when you use the brush tool, it takes all the computer's resources, I have 16GB RAM and when you use the tool, increase the usage up to 8GB and it continues increasing rapidly.
I found that the problem could be that there is no something like a garbage collector who deletes from memory all jobs related to the brush and the coco-annotator en general. When you works con coco-annotator, then you close it or just go to the main page, the memory is still on usage, then if you continue working it increases again the memory usage, it should be something to kill processes when you stop working on a image, like when you save an image or go to another page or image, etc. Also when you stop using coco fro an arbitrary time (like 5 minutes) it could clean the sockets automatically.
Thanks.