Login  Register

Re: image disappearing in single aperture mode

Posted by karenacollins on Aug 18, 2014; 7:28am
URL: http://astroimagej.170.s1.nabble.com/image-disappearing-in-single-aperture-mode-tp172p175.html

Nice find, and great info for troubleshooting! It does seem possible
that your problem is a memory issue. With 8 GB of RAM, you should be
fine to set AIJ's available memory to 6 GB. AIJ will only use what is
needed, and not more than the set limit (and of course not more than
what is available). I tried setting my AIJ max memory to 640 MB, 1000
MB, and 2000 MB, but still couldn't duplicate the problem. But, my
machine has 16 GB, so I've had a hard time filling up memory with other
programs.

The only thing that still gives me concern is the following scenario
that you mentioned:
So, thinking maybe the memory allotment given to AstroImageJ was the
issue, I increased it from 650 MB to 2000 MB (I have 8 GB of RAM),
restarted, and tried the procedure again. The only thing open was
Firefox and the Finder. This time, the malfunction occurred - clicking
on the multi-aperture tool caused the image to disappear.

Could you please click on the lower section of the AIJ Toolbar (where
messages are sometimes displayed) and make sure that you are running
64-bit java and that the memory matches what you have set? It will read
something like "ImageJ 1.47i; Java xx.xx [64-bit]; and then how much
memory is being used out of the total amount". If your machine is
somehow not set for 64-bit java or the memory is not as expected, we
need to get that reconfigured and see if the problem goes away.

Finally, I have made some minor tweaks in the latest 'daily build'. If
you have time, could you download that version and see if you can still
break the image display when you are stressing memory usage? If you have
another vanishing image situation, try Toolbar->Process->Math->Add (any
value such as 1.0) to see if the image reappears. This is not intended
to be a fix, but might be useful troubleshooting info.

I will look into finding a way to display an 'out-of-memory' message. In
the mean time, if you find any other clues, or find that if you start
AIJ with lots of memory allocated, and no other memory intensive
programs running, but still see your images disappearing, please let me
know any details that you can.

Karen