Login  Register

Re: OutOfMemoryError caused by Analyze Particles plugin

Posted by Peter Haub on Aug 24, 2013; 4:56pm
URL: http://imagej.273.s1.nabble.com/OutOfMemoryError-caused-by-Analyze-Particles-plugin-tp5004546p5004550.html

Hi Lakshmi,

do you have / do the Particle Analyser creates a lot of ROIs (thousends
of ROIs)?
I run into this kind of problem once.

Peter

On 23.08.2013 23:10, lakshmi narjala wrote:

> Hi Admin,
>
> I have a macro that sequentially calls a set of 9 plugins and
> processes more than 3000 images.
> I am using a 64 bit windows OS with 8GB RAM. The memory limit for Fiji
> by default was about 6095 MB(75% of RAM).
> The macro that I have written works fine for approximately 300 images
> and then gives an error:- java.lang.OutOfMemoryError: Java heap space
> I did a unit testing by running individual plugins separately and also
> by combining the first 8 plugins together. None of these plugins when
> run separately/together gave the 'outofmemory' error.
> But when I included the "Analyze Particles" plugin the Fiji threw an
> error immediately after 300 images. (6Gb was not sufficient for >300
> images). Increasing/Decreasing the memory used by Fiji did not help in
> fixing this.
>
> I am trying to detect ellipses whose area falls within a range in the
> "Analyze Particles" plugins. The output is saved to a csv file. Can
> you please let me know if I need to do anything to fix this issue.
>
> Thanks,
> Lakshmi
>
> --
> ImageJ mailing list: http://imagej.nih.gov/ij/list.html
>

--
ImageJ mailing list: http://imagej.nih.gov/ij/list.html