Quentin Spencer wrote:
You need to provide more detail about which octave version you're using,
which OS, and what kind of hardware. However, based on your description,
I'm going to make a guess. The only time I ever saw this behavior was on
the 2.1.73 version on cygwin, when using dynamically loaded functions.
In this case, there is apparently a memory leak that consumes a few
bytes of memory for every function call. In a script that runs for hours
and calls such functions millions of times, this can eventually consume
all of a computer's resources. I think this is a known problem, but it
was never clear how to fix it because it's only on cygwin, which implies
that it could very well be a compiler or cygwin bug. If my guess is
correct, I would suggest trying the 2.9.12 binary that has been
discussed on this list recently.
Quentin
Hallo,
Thank you for your reply. Maybe you're right. This is the version that I am
using
GNU Octave, version 2.1.73 (i686-pc-cygwin). My OS is Windows XP.
But can I ask you one question? Is the version 2.9.12 stable?