View Issue Details

IDProjectCategoryView StatusLast Update
0020906MMW 5Otherpublic2024-11-14 15:49
Reporterlowlander Assigned To 
PriorityurgentSeveritycrashReproducibilitysometimes
Status feedbackResolutionopen 
Product Version5.1 
Target Version5.1.1 
Summary0020906: AV EFBE0000 (out of memory) / navigating menus increases memory utilization
DescriptionFound MediaMonkey in the morning with this AV.
TagsNo tags attached.
Attached Files
image.png (28,300 bytes)   
image.png (28,300 bytes)   
Fixed in build

Relationships

related to 0021054 closedLudek Possible crash when navigating menus 
related to 0020982 closedpetr libcef.dll crashes MM even on Idle 
related to 0021200 closedLudek Expanding Artists node on large DB => out of memory (regression 3050) 
related to 0021182 feedbackpetr Editing Properties Memory Leak 
related to 0021351 closedLudek Second right click fails on column headers in Column Filter (regression 5.1) 

Activities

Ludek

2024-05-05 21:10

developer   ~0075353

It was "out of memory" error :-/

Analyzing the debug log and between lines
00361777 51325.65625000 [18856] 51247 MM5 [13868](R) MemRAM: 962.5 MB, MemPrivate: 926.3 MB, MemVirtual: 1.5 GB
...
00362639 53973.66796875 [18856] 53895 MM5 [19184](R) MemRAM: 3.1 GB, MemPrivate: 3.1 GB, MemVirtual: 3.9 GB

the memory utilization has grown +2 GB!! without any activity seen in the debug log..

@Petr, any idea? Are there any debug lines in Chromium that could be enabled to see what is causing this huge mem utilization?

rusty

2024-05-05 21:24

administrator   ~0075354

Last edited: 2024-05-05 21:25

Same thing happened to me when I left MM running overnight (log was submitted).

lowlander

2024-05-06 15:03

developer   ~0075356

And it happened again after next night

Ludek

2024-05-06 15:11

developer   ~0075357

Could you please start MediaMonke.exe via command line with /CEFDEBUG parameter and re-generate new DbgView log?
MediaMonkey.exe /CEFDEBUG

lowlander

2024-05-11 13:54

developer   ~0075403

New log in same spot.

Ludek

2024-05-14 16:26

developer   ~0075421

Last edited: 2024-05-14 16:26

The log with /CEFDEBUG parameter still does not show anything useful,
assigned to Petr to get even more debug messaging from Chromium (related to used memory) in order to catch what could be the culprit...

lowlander

2024-05-15 15:38

developer   ~0075430

image-2.png (16,937 bytes)   
image-2.png (16,937 bytes)   

lowlander

2024-05-29 14:28

developer   ~0075630

Last edited: 2024-05-29 14:30

Another AV on return in the morning (3026).
image-3.png (13,722 bytes)   
image-3.png (13,722 bytes)   

lowlander

2024-06-03 14:28

developer   ~0075696

More logs added from 3027

rusty

2024-06-05 15:52

administrator   ~0075775

When I run MM 2024.3028 memory utilization is around 350MB. After using it for an hour it'll go up to about 600MB, and after leaving it playing overnight, it increases to about 1.5GB.

Interestingly, switching skins caused memory utilization to go from 1.5GB to 500MB!

jiri

2024-06-10 12:39

administrator   ~0075855

Rusty, do you have pop-up playback notifications enabled? According to my tests, these could be guilty of some memory leaks.

rusty

2024-06-10 18:30

administrator   ~0075875

Yes, playback Pop-up notifications are enabled.

jiri

2024-06-11 13:14

administrator   ~0075899

Note that the Rusty's issue is most likely only another instance of https://www.ventismedia.com/mantis/view.php?id=20906, the original Martin's might be something different.

lowlander

2024-06-12 15:02

developer   ~0075927

Last edited: 2024-06-12 15:03

83180000 Seen on 3030, after leaving MediaMonkey paused overnight. New full log added.
image-4.png (12,429 bytes)   
image-4.png (12,429 bytes)   

petr

2024-06-17 16:56

developer   ~0076021

We've changed chromium memory management in 3031 so please retest.

lowlander

2024-06-21 16:53

developer   ~0076113

Last edited: 2024-06-21 16:54

Haven't seen the error in few days on 3031 (with petr libcef.dll)/3032. However high memory usage has seen ~1400MB and constant CPU usage of 5-6% while MM is idle. This particular instance was after a large (>8000 files) wifi Sync (after failed USB Sync).

rusty

2024-06-21 17:58

administrator   ~0076115

I reported at 0021030:0076089 , but apparently it's part of this issue:

"Tested 3032, and it appears that this (memory utilization increasing as a result of menu navigation) isn't fully fixed. Navigating the Send to folder hierarchy (i.e. moving the cursor up and down between Folder (move)/Folder (copy)/Folder (Rip/convert) for a minute, memory utilization grows by 100MB! "

Ludek

2024-06-24 20:09

developer   ~0076148

Last edited: 2024-06-24 20:20

@lowlander: I would need to see debug log of the sync process..

@Rusty, I can confirm that navigating menus is still leaking memory,
AFAIK this is because each menu is shown as separated window and the window is not fully cleaned up, Petr is solving it..

rusty

2024-10-08 04:21

administrator   ~0077209

Retested 3061 and navigating the Send to / FMFS menus still increases memory utilization significantly (by about 45MB after navigating through the menus for one Artist). More importantly the memory doesn't free up after waiting 15m.

Note: 0021234 is being used to track memory issues related to Node/View switching (to test the above, navigate the menus without actually clicking them).

Please triage.