GNOME Bugzilla – Bug 591843
Possible memory leak when ripping CD's in Banshee and Rhythmbox
Last modified: 2011-09-22 09:13:22 UTC
Please describe the problem: It seems like gstreamer could be responsible for a memory leak when ripping CD's with. Steps to reproduce: 1. Launch Banshee or Rhytmbox 2. Insert a CD and choose Copy CD to library or Import CD 3. Monitor the memory usage Actual results: Tried with: Banshee 1.5.0 Rhythmbox 0.12.0 Both programs grabs a number of megabytes of memory during ripping and writeable memory does not drop back to the original value (ie. when the music player is running normally) after the ripping is finished. I tried to measure the actual rise in memory, but I did not find any consistent numbers, but the pattern is that: On first rip memory usage goes up between 30 to 50 mb. On consequetive rips, Banshee memory use increases between 15-35 per rip. Rhythmbox stays stable after the initial rise in usage. But none of the programs seems to release the first 30-50 mb. Expected results: Yes Does this happen every time? Other information:
What pipeline is used here or which codec to you encode into? Does this also happen when using sound-juicer? Which versions of gstreamer, gst-plugins-base, etc are you using?
I don't understand what you mean by pipeline, sorry. Codecs were FLAC and OGG. I have not tried sound-juicer yet (I'm very busy for the rest of the month). G-streamer 0.10.22 libgstreamer-plugins-base0.10-0
(In reply to comment #2) > I don't understand what you mean by pipeline, sorry. Banshee uses playbin, not sure about Rhythmbox.
They likely have custom pipelines for CD ripping. It would be good to know the exact pipelines used, and especially if they contain any queues without size/buffer/time limits.
(In reply to comment #4) > They likely have custom pipelines for CD ripping. It would be good to know the > exact pipelines used, and especially if they contain any queues without > size/buffer/time limits. Is this what you are looking for? audioconvert ! vorbisenc quality=0.7 ! oggmux Sorry, I'm not familiar at all with gst.
Reopening as I think the requested information has been provided.
Is this still a problem? How do you measure the amount of memory that is used? Can you get a valgrind log to get some more details of the leak?
Hello Sebastian, Thanks for you meticulous attention to tickets :) I'm afraid I haven't used Banshee for ripping CDs for a year or so. I'll see if I can get some ripping done soon, to see if I can reproduce the issue. Regards
Tor Bechmann, do you have any update for the bug with respect to comment#8 ?
Closing this bug report as no further information has been provided. Please feel free to reopen this bug if you can provide the information asked for. Thanks!