thread limit in python

Bryan Olson fakeaddress at
Fri Aug 12 03:54:13 CEST 2005

danieldsmith at wrote:
 > disregard the C example.  wasn't checking the return code of
 > pthread_create.  the C program breaks in the same place, when creating
 > the 1021st thread.

So that's pretty good evidence that it's an OS limit, not a
Python limit. The most likely problem is that the stack size is
too large, so you're running out of virtual address space.


More information about the Python-list mailing list