Re: Problem closing images
Posted by strahli on Jul 11, 2011; 1:32pm
URL: http://imagej.273.s1.nabble.com/Problem-closing-images-tp3683887p3683893.html
Hei there,
because I saw no other chance I wanted to try with the virtual stack opener. But then I saw that the Virtual Stack opener opens a folder of images and not only one. That's a problem because I only have one image at a time!
So initially I load the reference image which isn't changed during the whole process. And then I fetch every 10 seconds an image from the camera, but I don't create a new Imageplus for this but I do: oldCameraImage.setImage(new ImageIcon(path)). I don't see a good use for opening a folder.
Despite this I also tried to use the garbage collector, but this doesn't change anything! Even if I call the garbagecollector my memory usage is increasing continiously!
Any other ideas? I'm really clueless. Thanks in advance!!!