I am using the threading module to create a great deal of threads. Is there any way to set the thread stack size? It looks like each thread is being given a default stack size of 1MB. I have looked all over and I cannot find a way to shrink the stack to a few KB. When I try to create a large number of threads (say 1000 of them) I run into trouble, due to the fact that I have one Gig of memory.
-- http://mail.python.org/mailman/listinfo/python-list