From: Le He on
Hi,
I have a script doing some computation and save some invisible plots into image files inside a for-loop on a linux server.

When I run the script, it usually get stuck in somewhere in the middle. I am not sure where exactly it stopped, but I can know at which iteration of the for-loop it stops by print-out. if I rerun it from the iteration where it stopped, it could continue to run past that place. So it seems to me there is no bug.

I just wonder how I can identify at which line it stops?

what might be the cause of the problem and how I can run the whole script from the beginning till the end?

Thanks!
From: Walter Roberson on
Le He wrote:

> I just wonder how I can identify at which line it stops?

dbstop if error

But if it was stopping because of an error, it would normally tell you
what the error was.

The problem... running out of memory seems most likely.