I'd like to use Interact to have a plot that updates frequently in a 
Jupyter notebook, but it seems like there is a large memory leak somewhere 
and I am having some trouble tracking down what package is responsible. 
Within a few minutes of running, the following code will cause the memory 
used by the web browser to balloon to well over 1 GB with no sign of 
slowing down. It is almost like the memory allocated for displaying a 
particular plot is never deallocated:

using Reactive, Interact, Gadfly

@manipulate for 
>     paused=false,
>     dt = fpswhen(lift(!, paused), 10)
>     plot(x=collect(1:10),y=rand(10))
> end


I can observe this problem using Julia 0.4.1, together with the most recent 
releases of all relevant packages, in either Safari on OS X or Chrome on 
Windows 10.

Here's hoping someone has an idea of what's going on or advice for how to 
track down this problem. It seems like something that many others should be 
experiencing.

Thanks,
Andrew

Reply via email to