On Sat, 8 Aug 2009 12:26:21 +0200
Fabio Forno <[email protected]> wrote:

> 
> Hi,
> I'm investigating about the reason of some huge memory leaks I've with
> the aim and icq transport and I've found that they both include their
> own oscar implementation instead of using twisted.words. The interface
> seems to be equal, besides that fact the one included in the
> transports uses a thread based scheduler for sending packets, with the
> scary comment "there is no way to shut down all threads when a user
> logs out". Is there any reason for this?
> 

Hi, Fabio.
I can't said exactly about these reasons but can suggest them.
1. OSCAR implementations in PyICQt and PyAIMt derived from Twisted
Words's one in 2005 and tuned for specific usage.
2. Scheduler creates threads for every user and removes them after. Not
after logout but since some time. It can be seen in process status -
transport keep only 2 threads when idle.

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"py-transports" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/py-transports?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to