Here is my patch which stop leaks on my system with pyicqt.

Diff if not clean, so it can't be applied to svn tree as is.
Here are the features that includes this patch:
1. If disableAvatars option is set it completely disables them. 
        Without a patch not all functional was disabled if this variable was
set.
2. We doesn't sending XMLNS tags in presense now.
3. A patch for correct detecting of russian text in statuses is added
(from a bugtrack. tested for a half a year)
4. Ugly hack for complete web panel ripping off. 
5. Table dump a little updated

With this patch pyicq was runned for weeks without a memory leaks. 
The problem of leaks is in web panel code and AvatarCache Factory.

Also, some strange behavoir of pyicq was found when its running with -b.
Now i'm starting it with nohup and it works much better.

Patch can be downloaded from http://jabber.org.by/disable-avatars.diff

Alex

Thu, 01 Jan 1970 you wrote:

> FIndeed.  Something is leaking somewhere.  =/  Free virtual cookies  
> for anyone who finds it!  (and if someone does, I'll aim to put out a  
> fixed release 'immediately')  That said, the avatars can't be  
> helping.  lol

> Daniel

> On Jan 29, 2007, at 9:31 AM, Stian B. Barmen wrote:


> >> Alexander V. Butenko wrote:
> >>> Hello,

> >>> Is same patch can be applied to pyicq transport too?

> >>  I hope so, PyICQt eats more memory nowadays while the MSN  
> >> transport is
> >> being used more.

> > I think there is more wrong with the icq transport than this. Like  
> > I have
> > said before the transport leaks memory like crazy and the only  
> > thing that
> > keeps it working over here is two restarts of the transport each  
> > week, the
> > same goes for the AIM one.

> > -stian

> > _______________________________________________
> > py-transports mailing list
> > [email protected]
> > http://www.modevia.com/cgi-bin/mailman/listinfo/py-transports

> _______________________________________________
> py-transports mailing list
> [email protected]
> http://www.modevia.com/cgi-bin/mailman/listinfo/py-transports

Alex
_______________________________________________
py-transports mailing list
[email protected]
http://www.modevia.com/cgi-bin/mailman/listinfo/py-transports

Reply via email to