Summary: | ThumbnailView requests video preview over and over again when requests fail | ||
---|---|---|---|
Product: | [Applications] kphotoalbum | Reporter: | Risto H. Kurppa <risto> |
Component: | Thumbnail Viewer | Assignee: | KPhotoAlbum Bugs <kpabugs> |
Status: | RESOLVED FIXED | ||
Severity: | normal | ||
Priority: | NOR | ||
Version: | SVN trunk (KDE4 version) | ||
Target Milestone: | --- | ||
Platform: | Unlisted Binaries | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: | ||
Sentry Crash Report: |
Description
Risto H. Kurppa
2011-01-03 22:53:56 UTC
What's your value for the amount of memory used for caching decoded images? Also, have you watched any videos? How do I check memory used for caching decoded images No, didn't watch videos I left kphotoalbum --demo on over night, on home view, didn't touch anything, just start. After about 8 hours around 380M of memory (VIRT) and 0% CPU. Now when I click 'show thumbnails', CPU goes very high (70-80%) but KPA doesn't show it'd work on thumbnails or anything - and memory (RES) keeps on growing slowly. Going back to home stops CPU usage back to 0% and memory footprint also stops from growing. The same actually happens without waiting for hours: As soon as I click on 'view thumbnails' on a newly started process, CPU goes high (to 70-80%) and stays there, and memory footprint keeps on growing slowly. So along the time it uses huge amounts of memory. OK, looks like one has to have a broken KDE-level support for video thumbnails and open a list of thumbnails with some (hidden?) videos; when that happens, the ImageManager::VideoManager::load() is being called way too often and the same videos get requested over and over again. I haven't checked yet if the bug is in the ThumbnailView or in the ImageManager code. Sorry for premature closing and thanks for feedback, reopening now. Yes, debugged this in IRC with Jan, here's the 'simple explanation' ;) I noticed that I didn't see video thumb of the --demo. Found out that I didn't have mplayerthumbs installed - so no video thumbs. home -> media type -> photos -> show thumbnails -> everything looks good home -> media type -> video -> show thumbnails -> CPU up to 60-80% and RES keeps on growing Installing mplayerthumbs home -> media type -> video -> show thumbnails -> everything looks good. Jan's results above. Thanks Jan!! Fixed in commit a993d0377adcb10df2568e460afed2414a4654bf |