multythreading app memory consumption

Gabriel Genellina gagsl-py at yahoo.com.ar
Mon Oct 23 22:04:25 CEST 2006


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.


-- 
Gabriel Genellina
Softlab SRL 

__________________________________________________
Correo Yahoo!
Espacio para todos tus mensajes, antivirus y antispam ¡gratis! 
¡Abrí tu cuenta ya! - http://correo.yahoo.com.ar



More information about the Python-list mailing list