Amarok 2.5.0 has a bad memory leak

Erik Hovland erik at hovland.org
Wed May 23 18:33:12 UTC 2012


Does the attached patch help at all?

E

On Wed, May 23, 2012 at 3:17 AM, Bart Cerneels <bart.cerneels at gmail.com> wrote:
> Hey Gerald.
> Thanks for the data you gathered. It certainly proves we have a
> memleak problem. As you point out it's probably related to the
> playlist, but that is not directly a give and likely is not the only
> memleak there is.
> I'll have a go finding it before the next release anyway.
>
> I'm sharing this with the developer list.
>
> On Wed, May 23, 2012 at 6:15 AM, Gerald B. Cox <gbcox at bzb.us> wrote:
>> Just an FYI in case like me you leave amarok running at times... don't....
>>
>> Amarok memory leak when changing tracks
>> https://bugs.kde.org/show_bug.cgi?id=298627
>>
>> Easily reproducible - just load up a playlist and
>> select the repeat playlist option.
>>
>> The only plugins I am using are mass
>> storage device and lastfm.
>>
>> I ran the following command to document the leak:
>> top -b -d 150 -p 11866 > amarok.txt
>>
>> I then imported the results into a google spreadsheet you can view here:
>> http://goo.gl/Q4bZw
>>
>> Memory utilization started out at 7.4% and ended up at 31.9% after approx 48
>> hours.  The leak is steady and unrelenting.  I ran the same playlist under QMMP
>> during the same period and memory utilization was steady at 2.5% throughout the
>> period.
>> _______________________________________________
>> Amarok mailing list
>> Amarok at kde.org
>> https://mail.kde.org/mailman/listinfo/amarok
> _______________________________________________
> Amarok-devel mailing list
> Amarok-devel at kde.org
> https://mail.kde.org/mailman/listinfo/amarok-devel



-- 
Erik Hovland
erik at hovland.org
http://hovland.org/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-Fix-memory-leak-in-sort-widget.patch
Type: application/octet-stream
Size: 1461 bytes
Desc: not available
URL: <http://mail.kde.org/pipermail/amarok-devel/attachments/20120523/b541f524/attachment.obj>


More information about the Amarok-devel mailing list