memory

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

memory

Johannes Breu
Hi,

I have question concerning the memory problems. I wrote a script that does
something with images that are in various folders using batch mode. The
script is not able to come to an end because a log window pops up saying:
Out of memory. I know I can extend the memory via EDIT and OPTIONS. But I am
wondering that there are memory problems if I use batch mode. I thought all
the procedures are done for each image and afterwards this image is closed
and so on. So it should not stress the memory capacities. Is that possible?

thanks
Reply | Threaded
Open this post in threaded view
|

Re: memory

Michael Schmid
Hi Johannes,

you have to close the images by the close() macro function.

Run the macro without BatchMode or use
   setBatchMode("exit and display");
to see whether you forget to close any images.
Otherwise, images created in BatchMode are invisible, but do
occupy memory.

Michael
________________________________________________________________

On 25 Sep 2008, at 17:03, Johannes Breu wrote:

> Hi,
>
> I have question concerning the memory problems. I wrote a script  
> that does
> something with images that are in various folders using batch mode.  
> The
> script is not able to come to an end because a log window pops up  
> saying:
> Out of memory. I know I can extend the memory via EDIT and OPTIONS.  
> But I am
> wondering that there are memory problems if I use batch mode. I  
> thought all
> the procedures are done for each image and afterwards this image is  
> closed
> and so on. So it should not stress the memory capacities. Is that  
> possible?
>
> thanks