After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 586052 - Memory leak
Memory leak
Status: RESOLVED WONTFIX
Product: banshee
Classification: Other
Component: general
git master
Other Linux
: Normal major
: 1.6
Assigned To: Banshee Maintainers
Banshee Maintainers
gnome[unmaintained]
Depends on:
Blocks:
 
 
Reported: 2009-06-16 21:09 UTC by Gabriel Burt
Modified: 2020-03-17 08:27 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
sorted lsof -p output (27.92 KB, text/plain)
2009-06-16 21:10 UTC, Gabriel Burt
Details
screenshot of system monitor's mmaps dialog for banshee (238.50 KB, image/png)
2009-06-16 21:19 UTC, Gabriel Burt
Details

Description Gabriel Burt 2009-06-16 21:09:47 UTC
I've had Banshee (git master) open for quite a while (38 hours, it looks like) and I just noticed how much memory it's using:  1.6GB Virt, 700M Res (18M shared, 177K X)

I noticed the memory usage increasing by a meg at a time while I was playing a podcast.  Now that it's stopped, it is no longer increasing.  The episode I was playing was downloaded.

The log has lots of RSS parsing errors, perhaps something there isn't being disposed of properly:

[Warn  15:46:01.298] Caught error parsing RSS enclosure - Input string was not in the correct format (in `mscorlib')
  at System.Int32.Parse (System.String s) [0x00000]
  at Migo.Syndication.RssParser.GetITunesDuration (System.String duration) [0x00000]
<snip>
  at System.Xml.XmlDocument.LoadXml (System.String xml) [0x00000]
  at Migo.Syndication.RssParser..ctor (System.String url, System.String xml) [0x00000]

Also seeing

[Warn  15:55:33.966] Caught an exception - a name did not start with a legal character
<snip>
  at Migo.Syndication.RssParser..ctor (System.String url, System.String xml) [0x00000]

and

[Warn  15:55:33.982] Caught an exception - Invalid XML document. (in `Migo')
  at Migo.Syndication.RssParser..ctor (System.String url, System.String xml) [0x00000]

Doing a kill -s QUIT the #, type, and state of the threads look normal.
Comment 1 Gabriel Burt 2009-06-16 21:10:32 UTC
Created attachment 136774 [details]
sorted lsof -p output
Comment 2 Gabriel Burt 2009-06-16 21:15:49 UTC
Actually Banshee had been running since last Friday, so almost exactly 4 full days.
Comment 3 Gabriel Burt 2009-06-16 21:17:06 UTC
As you can tell from the traces above, banshee-1 wasn't started in --debug mode either.
Comment 4 Gabriel Burt 2009-06-16 21:19:03 UTC
Created attachment 136775 [details]
screenshot of system monitor's mmaps dialog for banshee

You can see the problem is in the heap, it's enormous.
Comment 5 Gabriel Burt 2009-06-16 21:24:56 UTC
Playing a song from my library now, it's increasing by up to 2 MB every second or two again.
Comment 6 Gabriel Burt 2009-06-16 22:11:54 UTC
This is possibly a dupe of bug #555365 - it was increasing *while* playing, not just skipping, so I opened it separately.
Comment 7 André Klapper 2020-03-17 08:27:52 UTC
Banshee is not under active development anymore and had its last code changes more than three years ago. Its codebase has been archived.

Closing this report as WONTFIX as part of Bugzilla Housekeeping to reflect
reality. Please feel free to reopen this ticket (or rather transfer the project
to GNOME Gitlab, as GNOME Bugzilla is being shut down) if anyone takes the
responsibility for active development again.
See https://gitlab.gnome.org/Infrastructure/Infrastructure/issues/264 for more info.