thread limit in python

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


danieldsmith at gmail.com 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.


-- 
--Bryan



More information about the Python-list mailing list