Dear list,
I hope this is not too off-topic, but I am developing ImageJ plugins using Eclipse, and I really like it except I keep running up against what appears to be an absolute memory limit of 63MB. You can¹t set the memory in an Eclipse instance of ImageJ by Edit>Options>Memory... Because it generates an error ³ImageJ is unable to change the memory limit.² However the Current limit it gives is 144MB well beyond the 63MB Out of Memory Eclipse error. I tried changing the eclipse.ini file from the default: -Xms40m -Xmx256m to -Xms256m -Xmx512m but I still get the Out of Memory All available memory (63MB) has been used. I have been struggling with this for a long time but can¹t seem to find any help in the Eclipse Help or Help lists they seem reluctant to deal with ImageJ issues for some reason. I am using a Mac G5 dual 2.3GHz with 2GB ram. If anyone knows how to increase the memory in Eclipse, I would be very grateful. Thanks in advance. Chris Coulon The GAIA Group Global Automated Image Analysis http://www.gaiag.net [hidden email] We welcome image analysis problems in all fields. Christopher Coulon, Ph.D., Founder 415 515-3379 |
Hi,
I'm no expert on Eclipse, but I recall having the same problem. I solved it by editing the run configuration and adding '-Xmx256m' to the program arguments. Hope this helps Jon Christopher Coulon wrote: >Dear list, > >I hope this is not too off-topic, but I am developing ImageJ plugins using >Eclipse, and I really like it except I keep running up against what appears >to be an absolute memory limit of 63MB. You can¹t set the memory in an >Eclipse instance of ImageJ by Edit>Options>Memory... Because it generates an >error ³ImageJ is unable to change the memory limit.² However the Current >limit it gives is 144MB ‹ well beyond the 63MB Out of Memory Eclipse error. >I tried changing the eclipse.ini file from the default: > >-Xms40m >-Xmx256m > >to > >-Xms256m >-Xmx512m > >but I still get the Out of Memory ‹ All available memory (63MB) has been >used. I have been struggling with this for a long time but can¹t seem to >find any help in the Eclipse Help or Help lists ‹ they seem reluctant to >deal with ImageJ issues for some reason. I am using a Mac G5 dual 2.3GHz >with 2GB ram. If anyone knows how to increase the memory in Eclipse, I >would be very grateful. Thanks in advance. > >Chris Coulon > > >The GAIA Group >Global Automated Image Analysis >http://www.gaiag.net >[hidden email] > > >We welcome image analysis problems in all fields. > >Christopher Coulon, Ph.D., Founder >415 515-3379 > > > |
In reply to this post by Christopher Coulon
Hello Christopher,
to increase the memory of your eclipse environment start it with a link like: C:\Programme\eclipse\eclipse.exe -vmargs -Xms256m -Xmx512m To increase the memory of imagej when you start it from eclipse: right click the ImageJ class and choose the menu entry run>run... to open the configuration dialog In the Arguments tab use the VM arguments to set the memory: -Xms256m -Xmx512m Hope this helps, Volker Christopher Coulon wrote: >Dear list, > >I hope this is not too off-topic, but I am developing ImageJ plugins using >Eclipse, and I really like it except I keep running up against what appears >to be an absolute memory limit of 63MB. You can¹t set the memory in an >Eclipse instance of ImageJ by Edit>Options>Memory... Because it generates an >error ³ImageJ is unable to change the memory limit.² However the Current >limit it gives is 144MB ‹ well beyond the 63MB Out of Memory Eclipse error. >I tried changing the eclipse.ini file from the default: > >-Xms40m >-Xmx256m > >to > >-Xms256m >-Xmx512m > >but I still get the Out of Memory ‹ All available memory (63MB) has been >used. I have been struggling with this for a long time but can¹t seem to >find any help in the Eclipse Help or Help lists ‹ they seem reluctant to >deal with ImageJ issues for some reason. I am using a Mac G5 dual 2.3GHz >with 2GB ram. If anyone knows how to increase the memory in Eclipse, I >would be very grateful. Thanks in advance. > >Chris Coulon > > >The GAIA Group >Global Automated Image Analysis >http://www.gaiag.net >[hidden email] > > >We welcome image analysis problems in all fields. > >Christopher Coulon, Ph.D., Founder >415 515-3379 > > > -- passerelle antivirus du campus CNRS de Montpellier -- |
> To increase the memory of imagej when you start it from eclipse:
> > right click the ImageJ class and choose the menu entry run>run... to > open the configuration dialog > In the Arguments tab use the VM arguments to set the memory: > -Xms256m -Xmx512m > > Hope this helps, Yes, Thank you Volker! This problem has been plaguing me for months and, given eternity, I probably would have figured it out myself, but it was not obvious. Chris |
In reply to this post by Christopher Coulon
I had a similar problem because on imageJ program start up, I blocked
the changes that I tried to put into effect. I don't know if that was your problem - I am only starting myself. Robert On Jan 13, 2006, at 11:28 PM, Christopher Coulon wrote: > Dear list, > > I hope this is not too off-topic, but I am developing ImageJ > plugins using > Eclipse, and I really like it except I keep running up against what > appears > to be an absolute memory limit of 63MB. You can’t set the memory > in an > Eclipse instance of ImageJ by Edit>Options>Memory... Because it > generates an > error “ImageJ is unable to change the memory limit.” However the > Current > limit it gives is 144MB — well beyond the 63MB Out of Memory > Eclipse error. > I tried changing the eclipse.ini file from the default: > > -Xms40m > -Xmx256m > > to > > -Xms256m > -Xmx512m > > but I still get the Out of Memory — All available memory (63MB) has > been > used. I have been struggling with this for a long time but can’t > seem to > find any help in the Eclipse Help or Help lists — they seem > reluctant to > deal with ImageJ issues for some reason. I am using a Mac G5 dual > 2.3GHz > with 2GB ram. If anyone knows how to increase the memory in > Eclipse, I > would be very grateful. Thanks in advance. > > Chris Coulon > > > The GAIA Group > Global Automated Image Analysis > http://www.gaiag.net > [hidden email] > > > We welcome image analysis problems in all fields. > > Christopher Coulon, Ph.D., Founder > 415 515-3379 |
Free forum by Nabble | Edit this page |