WindowsError: stack overflow

Terry Reedy tjreedy at
Tue Sep 27 20:52:22 CEST 2005

<hardieca at> wrote in message 
news:1127834209.353672.316530 at
> I can get through about 1750 pages of 5000 before I get a WindowsError:
> stack overflow exception. Any ideas how I can keep the program chugging
> along?

A typical source of stack overflow is recursion.  Without seeing the code 
or actual stacktrace, I would guess that you are somehow using recursion 
instead of iteration.  Or perhaps you are analyzing big, deeply nested 

Terry J. Reedy

More information about the Python-list mailing list