View Issue Details

IDProjectCategoryView StatusLast Update
0021188MMW 5Main Panelpublic2025-02-14 14:10
Reporterlowlander Assigned To 
PriorityurgentSeveritymajorReproducibilityalways
Status assignedResolutionopen 
Target Version2024.2 
Summary0021188: Lyrics Auto Lookup in Preview Memory Leak
DescriptionIt seems that doing Auto-Lyrics Lookup in the Preview window has a memory leak. Set Preview to Selected and went though a bunch of files and memory usage slowly keeps increasing. MediaMonkey was not doing anything else (Artwork is also not set to be looked up).

1 Set Preview to Selected
2 Enable Auto-Metadata lookup of Lyrics
3 Use a list of files without Lyrics
4 Slowly go through list as Lyrics are found
TagsNo tags attached.
Fixed in build

Relationships

related to 0021182 feedbackpetr Editing Properties Memory Leak 

Activities

lowlander

2024-09-05 18:40

developer   ~0076855

Log: https://1drv.ms/f/s!AjRcJhPd0elwg7hVRIFcx2I_RWwUvA?e=hNc0DK

Ludek

2025-01-29 19:32

developer   ~0078081

Last edited: 2025-01-29 19:51

Analyzing your debug log and it is rather artwork (TCover) that is leaking:

11:20:23 AM [13648] MM5 [1992](R) MemRAM: 222.4 MB
11:20:23 AM [13648] MM5 [1992](R) Allocated TCover: 50, delta: 26

11:21:25 AM [13648] MM5 [12508](R) MemRAM: 242.8 MB
11:21:25 AM [13648] MM5 [12508](R) Allocated TCover: 96, delta: 46

i.e. artwork list and long variant of lyrics are loaded into memory for each track and not freed immediatelly..

However doing the same tests the memory does not grow in my case, it also keeps the artwork list and longer lyrics, but the artwork list is without the image data so it has just KBs (not MBs), in your log it is also without the image data..

So there needs to be something else in your case (maybe related to 0021389:0077913 )