Login  Register

Re: java.lang.OutOfMemoryError: Java heap space

Posted by Boris Epstein on Jun 03, 2009; 12:45pm
URL: http://imagej.273.s1.nabble.com/java-lang-OutOfMemoryError-Java-heap-space-tp3692299p3692300.html

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.