multythreading app memory consumption

Bryan Olson fakeaddress at nowhere.org
Tue Oct 24 01:49:06 EDT 2006


Gabriel Genellina wrote:
> At Sunday 22/10/2006 20:31, Roman Petrichev wrote:
> 
>> I've just faced with very nasty memory consumption problem.
>> I have a multythreaded app with 150 threads which use the only and the
>> same function - through urllib2 it just gets the web page's html code
>> and assigns it to local variable. On the next turn the variable is
> 
> Consider using asyncore or the Twisted framework instead of threads.

But those won't play nice with urllib2.


-- 
--Bryan



More information about the Python-list mailing list