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 -- http://mail.python.org/mailman/listinfo/python-list