Analyze Particles Keeps Freezing

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

Analyze Particles Keeps Freezing

Wilson R S (AT)
I am using Analyze particles through a macro, but occasionally it
freezes at about 50% for no apparent reason.

I am using about 15 times through a loop in the macro, and it is taking
me about 3-5 attempts to get through without it freezing.

 

Has anyone had similar or have an ideas?

 

Rhod
Reply | Threaded
Open this post in threaded view
|

Re: Analyze Particles Keeps Freezing

BenTupper
Hi,

On Jan 28, 2010, at 8:28 AM, Wilson R S (AT) wrote:

> I am using Analyze particles through a macro, but occasionally it
> freezes at about 50% for no apparent reason.
>
> I am using about 15 times through a loop in the macro, and it is  
> taking
> me about 3-5 attempts to get through without it freezing.
>
>

It is hard to tell without seeing the macro or at least more details.  
However, if you are opening lots of images within each loop you should  
make sure that each gets closed at the end of the loop.  Otherwise  
you'll find that memory may become an issue.


for (i =0; i < n; i++){

    <create some image here>
    id = getImageID();
    <do some stuff here>
    selectImage(id);
    close();

} // end of loop

Cheers,
Ben