Multiframe issue, out of memory during loop
Hi guys, I've been using cornestone for years but with small images it's hard to detect this huge memory leak.
I ran into it a few days ago while playing with the official cornerstone multiframe example.
Instead using the data provided in the example (80kb, 2 frames), change url and use this one. It's an anonymized angiogram, 244 frames
As you can see, the memory increases (mb!) every time the frame changes.
It's not cornerstone tool, the playClip tool simply calls loadImage .
It's not cornestone imagecache (you can set the cache to 0 manually with imageCache.setMaximumSizeBytes(0)).
It seems that every time loadImage is called old typed arrays are still in memory and/or garbage collector is not able to clean the old arrays.
Any suggestion? Thanks!