Re: unexplainable memory limit in ImageJ64
Posted by
sisan on
Apr 25, 2009; 4:22am
URL: http://imagej.273.s1.nabble.com/unexplainable-memory-limit-in-ImageJ64-tp3692745p3692754.html
sisan wrote
I get a similar <Out of Memory> error at around 640MB regardless of the Memory setting, like the original poster, except I'm running 64-bit Java--1.6.0_12. In "About ImageJ..." the last line says 465MB of 3000MB (15%). The title of the Edit>Options>Memory is "Memory (64-bit)". I tried rebooting and updating to the latest ImageJ 1.42m to no avail. I'm running 64-bit Vista w/ 4GB of RAM, no other programs open.
OK, I solved my problem by running ImageJ as an Administrator, by right clicking on ImageJ.exe and then checking the box in the "Compatibility" panel. Mind you, running as Administrator was suggested in the Install notes, but there it is implied that this is only necessary to use the "Memory & Threads..." option. Indeed, I WAS initially prevented from using this option, but then I gave Users in the imagej directory (in "Program Files (x86)") full permissions and then I was able to generate the ImageJ.cfg file, and the max memory seemed to be updated. However, as mentioned in the previous post, I would still run out of memory at around 640MB, followed by other oddities. So I would recommend that the Run as Administrator box be checked as a matter of course if ImageJ is installed in the default folder.