Login  Register

Re: java.lang.OutOfMemoryError: Java heap space

Posted by donny008 on Jun 03, 2009; 1:09pm
URL: http://imagej.273.s1.nabble.com/java-lang-OutOfMemoryError-Java-heap-space-tp3692299p3692301.html

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
> 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.
>



--
Donny George