Hello
i got this error java.lang.OutOfMemoryError: Java heap space when i ran a macro to process a folder with hundreds of images. then i tried to set the memory for java from the java control panel. i tried with the max of 3gb(3gb is the max which my system has) but i still get the same error can someone tell me what would be a solution for this problem. how can run it without this exception? thnks in advance -- Donny George |
Donny George wrote:
> Hello > > i got this error java.lang.OutOfMemoryError: Java heap space when i ran a > macro to process a folder with hundreds of images. then i tried to set the > memory for java from the java control panel. i tried with the max of 3gb(3gb > is the max which my system has) but i still get the same error > > can someone tell me what would be a solution for this problem. how can run > it without this exception? > > thnks in advance > > > > Donny, It is entirely possible that you tried to bite more than your system can chew. Have you tried doing the same thing on a smaller file set? -- *Boris Epstein National Resource For Imaging Mass Spectrometry <http://www.nrims.hms.harvard.edu/> Cambridge, MA Mobile: (617) 816-9654* The information in this e-mail is intended only for the person to whom it is addressed. If you believe this e-mail was sent to you in error and the e-mail contains patient information, please contact the Partners Compliance HelpLine at http://www.partners.org/complianceline . If the e-mail was sent to you in error but does not contain patient information, please contact the sender and properly dispose of the e-mail. |
hey boris
thats true but the main intension of writing this macro was to process such huge sets of pics, i tried reassigning the memory for imagej as well to 2 gb. but still kind of same well anyway now am breaking them into smaller parts :) don On Wed, Jun 3, 2009 at 2:45 PM, Boris Epstein <[hidden email] > wrote: > Donny George wrote: > > Hello > > > > i got this error java.lang.OutOfMemoryError: Java heap space when i ran a > > macro to process a folder with hundreds of images. then i tried to set > the > > memory for java from the java control panel. i tried with the max of > 3gb(3gb > > is the max which my system has) but i still get the same error > > > > can someone tell me what would be a solution for this problem. how can > run > > it without this exception? > > > > thnks in advance > > > > > > > > > > Donny, > > It is entirely possible that you tried to bite more than your system can > chew. Have you tried doing the same thing on a smaller file set? > -- > *Boris Epstein > National Resource For Imaging Mass Spectrometry > <http://www.nrims.hms.harvard.edu/> > Cambridge, MA > Mobile: (617) 816-9654* > > > The information in this e-mail is intended only for the person to whom it > is > addressed. If you believe this e-mail was sent to you in error and the > contains patient information, please contact the Partners Compliance > HelpLine at > http://www.partners.org/complianceline . If the e-mail was sent to you in > error > but does not contain patient information, please contact the sender and > properly > dispose of the e-mail. > -- Donny George |
Hi Donny,
maybe you don't close some of the images? You won't notice in a Batch mode macro unless you finish it with "exit and display". Michael ________________________________________________________________ On 3 Jun 2009, at 15:09, Donny George wrote: > hey boris > > thats true but the main intension of writing this macro was to > process such > huge sets of pics, i tried reassigning the memory for imagej as > well to 2 > gb. but still kind of same > > well anyway now am breaking them into smaller parts :) > > don > > > On Wed, Jun 3, 2009 at 2:45 PM, Boris Epstein > <[hidden email] >> wrote: > >> Donny George wrote: >>> Hello >>> >>> i got this error java.lang.OutOfMemoryError: Java heap space when >>> i ran a >>> macro to process a folder with hundreds of images. then i tried >>> to set >> the >>> memory for java from the java control panel. i tried with the max of >> 3gb(3gb >>> is the max which my system has) but i still get the same error >>> >>> can someone tell me what would be a solution for this problem. >>> how can >> run >>> it without this exception? >>> >>> thnks in advance >>> >>> >>> >>> >> >> Donny, >> >> It is entirely possible that you tried to bite more than your >> system can >> chew. Have you tried doing the same thing on a smaller file set? >> -- >> *Boris Epstein >> National Resource For Imaging Mass Spectrometry >> <http://www.nrims.hms.harvard.edu/> >> Cambridge, MA >> Mobile: (617) 816-9654* >> > Donny George |
Free forum by Nabble | Edit this page |