Browser side memory leaks using InteractNext.jl

jwikmark
Mon, 19 Feb 2018 15:44:35 +0000
Web Stack

Hello, I’m having an issue with browser side memory leaks when using the InteractNext.jl (https://github.com/JuliaGizmos/InteractNext.jl) package. Running the svg example (the first example in the readme) and serving it with Mux causes memory leaks in the browser (or in electron if served with Blink) after playing around with the widgets for a while. In Chrome, the page crashes after using ~1.5GB of memory. Has anyone else encountered this issue and managed to solve it? Any help or pointers would be appreciated.

Edit: This was caused by WebIO.newid being run each time the graphic was updated. I managed to solve it by overwriting the WebIO.newid function to reuse old id names.

4 posts - 2 participants