Too much dynamic memory usage leading to crash
mohanishgupta opened this issue · 1 comments
mohanishgupta commented
I edited XTK Lesson 13 to load a series of DICOM images from my local system (Windows 7). It is causing a lot of memory leaks, having increasing ramp like graph.
I have created a fiddle which reproduces the exact issue. Pardon me if I've coded it in a bad manner, I'm new to XTK and javascript. Please suggest what is/might be going wrong in this scenario.
Step to reproduce:
- Please open the above link in Chrome/Opera and use "Choose file" to select the folder having only DICOM images of a particular series.
- After successfully loading, just wait for some time without doing anything. You can check the increasing dynamic memory consumption through any memory profiler tool.
The following graph shows an example case of 1 image in a series (It is happening for any number of images though)
Thanks,
Mohanish
mohanishgupta commented