multythreading app memory consumption

Bryan Olson fakeaddress at nowhere.org
Tue Oct 24 07:40:59 CEST 2006


Dennis Lee Bieber wrote:
> 	How much stack space gets allocated for 150 threads?

In Python 2.5, each thread will be allocated

     thread.stack_size()

bytes of stack address space. Note that address space is
not physical memory, nor even virtual memory. On modern
operating systems, the memory gets allocated as needed,
and 150 threads is not be a problem.


-- 
--Bryan



More information about the Python-list mailing list