Bugzilla – Bug 17574
Media Scanner leaking memory when scanning images
Last modified: 2011-09-26 22:57:30 UTC
Running the scanner against a few thousand pictures leads to memory consumption in the several hundred megabytes, increasing slowly. My linux box currently is at about 8000 pictures, using >600MB. I saw similar behaviour on OSX too.
I expect many users to have thousands of photos, rather more than music files. Because taking pictures is free, while sorting them out is painful :-). I didn't see similar behaviour with music only scans.
Yeah I see the same thing with lots of images.
Fixed in https://github.com/andygrundman/libmediascan/commit/223f4947318c3f8be6d8cadd9139250a7902bebb
== Auto-comment from SVN commit #33504 to the slim repo by agrundman == == http://svn.slimdevices.com/slim?view=revision&revision=33504 == Bug 17574, Media::Scan memleak fix
Nice - after 16k music tracks and about 1k images the scanner is still at around 70MB.