in reply to Re: Re: catching infinite loops
in thread catching infinite loops

In that case a time-based catch is going to be rather inadequate. A fast memory leak doesn't take long to hurt.

Instead I would suggest either setting a maximum number of iterations, or looking into what your OS supplies in the way of things like ulimit...