View Issue Details

IDProjectCategoryView StatusLast Update
0014554MMW 5FileMonitor / Find Missingpublic2024-03-05 20:51
ReporterLudek Assigned To 
PriorityimmediateSeveritymajorReproducibilityalways
Status closedResolutionfixed 
Product Version5.0 
Target Version5.0Fixed in Version5.0 
Summary0014554: Issues while scanning picture folders
DescriptionWhen scanning a folder with thousands of photos and several videos (e.g. DCIM folder) then scanning progress is frozen on "scanning file 20170809.JPG" and in the debug log I see continually growing memory:

[8248] MM5 [6060](R) Covers: Memory occupied by picture data: 122.3 MB
[8248] MM5 [6060](R) Covers: Memory occupied by picture data: 123.2 MB
[8248] MM5 [6060](R) Covers: Memory occupied by picture data: 124.2 MB

and so on, i.e. the scanning gets frozen and memory is leaking.
Probably because MM5 is trying to add all the photos as artworks to video file?
TagsNo tags attached.
Fixed in build2084

Relationships

related to 0012245 closedjiri Artwork scanning improvements 
related to 0014546 closedpetr Scanning for files has no effect (regression) 
related to 0014918 closedmichal Slow scan of files with >1 covers 
related to 0020686 closedLudek Folder.jpg is not displayed, but other bitmap files from the same folder 

Activities

Ludek

2017-11-24 17:49

developer   ~0049267

Last edited: 2017-11-24 17:50

Is caused by 0012245 where dimensions are using while sorting cover list during scanning, but because in order to get dimension the whole picture data is read then it leaks memory and takes long time.

We should:

1) Optimize the process of getting dimension (without a need to load all image data)

2) Use the sort criteria only on cover list that is really about to be added.
Currently we sort needlessly thousands of cover candidates that are not added at all finally.

Ludek

2017-11-24 17:54

developer   ~0049268

Fixed in 2084

peke

2017-11-26 01:42

developer   ~0049276

Verified 2084 I would suggest another confirmation before close.

peke

2020-03-11 01:07

developer   ~0057141

Verified 2231

No more reports, work normally.