How can we free up memory after displaying an image using ImageView module?

To show the image I'm doing:

img = imread("path")
canv1, imageslice = ImageView.view(img)

And to update it:

ImageView.view(canvas(canv1), img)


Memory usage keeps growing with each update. After trying the destroy() 
function the memory remains used. It only frees up that memory after 
closing the REPL window.

Reply via email to