[Question #39213]: I believe there's a memory leak; how can I test?

Phil Hannent phil at hannent.co.uk
Thu Jul 17 04:50:34 EDT 2008


Adam Buchbinder wrote:
> New question #39213 on pidgin in ubuntu:
> https://answers.launchpad.net/ubuntu/+source/pidgin/+question/39213
> 
> I'm running Ubuntu Gutsy.
> 
> Recently, I noticed that pidgin was using around 600MB of memory (according to the VIRT column in top); I killed it, and about that much disappeared from swap--I think this means that pidgin had actually used that memory for something; it wasn't like the way a Java process will list the max allocation in its VIRT column. As I'm running a relatively low-memory system (0.5G), this is a significant problem. It had been running for at least a week, probably several; I use it for plain-vanilla instant messaging over Jabber and AIM.
> 
> I'd like to know how I can diagnose the memory leak, to file a more helpful bug report. Is there a trace tool? Some particular incantation to create a useful debug log?
A memory leak of such magnitude would probably been found already.  I know for a 
fact that when I run Pidgin for that length of time it does not even come close 
to the size you are seeing.

Could you provide more details:
1, Which version of Pidgin are you using?
2, What plugins are being used?  OTR?  Skype? Guifications? Music
3, How many buddies do you have roughly?
4, Are you in any chat rooms for that whole time?

There was a bug reported on the windows version that relates to GTK to do with 
the wallpaper changing:
http://developer.pidgin.im/ticket/4722

There is a page on how to report bugs, however it is more targeted at crashes or 
something failing:
http://developer.pidgin.im/wiki/TipsForBugReports

As a developer you can run the software within a tool that highlights memory 
leaks, however that is probably too complex for a support situation.

Sorry I cannot be more specific but with more information we might be able to 
get to the bottom of this.

Regards
Phil Hannent


-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 195 bytes
Desc: OpenPGP digital signature
URL: <http://pidgin.im/pipermail/support/attachments/20080717/1cd231b6/attachment.sig>


More information about the Support mailing list