Dear group
At the risk of a pest... I have two different PC XP65 w/4 gig of memory. I have install the new java. In the imagej.cfg file have point to that (D:\Program Files\Java\jdk1.6.0_01\jre\bin\javaw.exe) version. From ImageJ help, there is 3500MB memory, but I get out-of-memory at 2500MB when trying to load image stack?? Thanks in advance RWC Richard Cole Research Scientist IV Director: Advanced Light Microscopy & Image Analysis Core Wadsworth Center P.O. Box 509 Albany N.Y. 12201-0509 518-474-7048 Phone 518-457-7893 Fax Email [hidden email] Website www.wadsworth.org/cores/alm/index.htm IMPORTANT NOTICE: This e-mail and any attachments may contain confidential or sensitive information which is, or may be, legally privileged or otherwise protected by law from further disclosure. It is intended only for the addressee. If you received this in error or from someone who was not authorized to send it to you, please do not distribute, copy or use it or any attachments. Please notify the sender immediately by reply e-mail and delete this from your system. Thank you for your cooperation. |
Try adding the -XX:+AggressiveHeap option to the third line of
ImageJ.cfg. It will look something like this: -Xmx3500m -XX:+AggressiveHeap -cp ij.jar ij.ImageJ -wayne On Jun 19, 2007, at 10:50 AM, Richard Cole wrote: > Dear group > > At the risk of a pest... I have two different PC XP65 w/4 gig of > memory. I > have install the new java. In the imagej.cfg file have point to that > (D:\Program Files\Java\jdk1.6.0_01\jre\bin\javaw.exe) version. From > ImageJ > help, there is 3500MB memory, but I get out-of-memory at 2500MB when > trying > to load image stack?? > > Thanks in advance > > RWC > > > > Richard Cole > Research Scientist IV > Director: Advanced Light Microscopy & Image Analysis Core > Wadsworth Center > P.O. Box 509 Albany N.Y. 12201-0509 > 518-474-7048 Phone > 518-457-7893 Fax > > Email [hidden email] > Website www.wadsworth.org/cores/alm/index.htm > > > > > > > IMPORTANT NOTICE: This e-mail and any attachments may contain > confidential or sensitive information which is, or may be, legally > privileged or otherwise protected by law from further disclosure. It > is intended only for the addressee. If you received this in error or > from someone who was not authorized to send it to you, please do not > distribute, copy or use it or any attachments. Please notify the > sender immediately by reply e-mail and delete this from your > system. Thank you for your cooperation. > |
thank you! it worked! nice to know these magic options ;-)
so far I specified double the amount of needed RAM and it worked. strange! michael Wayne Rasband wrote: > Try adding the -XX:+AggressiveHeap option to the third line of > ImageJ.cfg. It will look something like this: > > -Xmx3500m -XX:+AggressiveHeap -cp ij.jar ij.ImageJ > > -wayne |
In reply to this post by Wayne Rasband
Thanks Wayne, I added this tip to the ImageJ documentation wiki's FAQ
entry about increasing available memory (http://imagejdocu.tudor.lu/imagej-documentation-wiki/faq/how-do-i-increase-the-memory-in-imagej). -Curtis On 6/20/07, Wayne Rasband <[hidden email]> wrote: > Try adding the -XX:+AggressiveHeap option to the third line of > ImageJ.cfg. It will look something like this: > > -Xmx3500m -XX:+AggressiveHeap -cp ij.jar ij.ImageJ > > -wayne > > On Jun 19, 2007, at 10:50 AM, Richard Cole wrote: > > > Dear group > > > > At the risk of a pest... I have two different PC XP65 w/4 gig of > > memory. I > > have install the new java. In the imagej.cfg file have point to that > > (D:\Program Files\Java\jdk1.6.0_01\jre\bin\javaw.exe) version. From > > ImageJ > > help, there is 3500MB memory, but I get out-of-memory at 2500MB when > > trying > > to load image stack?? > > > > Thanks in advance > > > > RWC > > > > > > > > Richard Cole > > Research Scientist IV > > Director: Advanced Light Microscopy & Image Analysis Core > > Wadsworth Center > > P.O. Box 509 Albany N.Y. 12201-0509 > > 518-474-7048 Phone > > 518-457-7893 Fax > > > > Email [hidden email] > > Website www.wadsworth.org/cores/alm/index.htm > > > > > > > > > > > > > > IMPORTANT NOTICE: This e-mail and any attachments may contain > > confidential or sensitive information which is, or may be, legally > > privileged or otherwise protected by law from further disclosure. It > > is intended only for the addressee. If you received this in error or > > from someone who was not authorized to send it to you, please do not > > distribute, copy or use it or any attachments. Please notify the > > sender immediately by reply e-mail and delete this from your > > system. Thank you for your cooperation. > > > |
Free forum by Nabble | Edit this page |