Page 1 of 1

Thread Creation Error Message and Lockup

Posted: Sat Dec 22, 2018 11:12 am
by Rednroll
System Specs:
Dell Inspiron 7570 laptop
CPU: i7-8550U
RAM: 24GB
OS: Windows 10 Pro x64
MM version: v4.1.23.1881 (Portable Install)
Further system Benchmark system specs can be seen here:
https://www.userbenchmark.com/UserRun/6777104
Problems:
1- MediaMonkey locks up and crashes
2- Multiple (50x)"Thread creation error: Not enough memory resources are available to process this command."
Image

Repro conditions:
I have a large collection of Sound FX audio files in FLAC format (26,132 files total).
I am attempting to make an additional copy of these files using MMW convert format command converting them to 320Kbps Constant Bit Rate MP3 format files using MM built in preset.

Source file location: (Toshiba 2TB USB 3.0 HDD)
P:\\SoundFXs FLAC\...

Destination file location:
Originally I selected all 26K FLAC files in MM and used the following mask parameters for the destination of the converted MP3 files:
P:\\SoundFXs MP3\<folder:1>\<filename>
Add to library check box enabled.

When selecting all 26K files to be converted, MM would lock up and freeze around the 500th file it was converting. Reproed this 2 times.
I then decided to break this up into smaller selections of files to be processed. Anything under 500 files selected seemed to work without errors. I then decided to push my luck and select 2K files and while doing that I have been getting the error message above consistently popping up. MM does not freeze up, but that message keeps popping up on my screen. I'm unsure what it means but it seems to indicate I'm low on memory which seems odd for a system with 24GB of memory and nothing else running in the foreground but my browser (Firefox). I shut down my browser and the messages keep coming in. In fact currently, I have MMW shut down as well, and that error message is still popping up on my screen.

Wanted to report, there seems to be some problem when using MM to convert a large amount of FLAC files to MP3 files. I will need to restart my system now and hope things clear up.

Re: Thread Creation Error Message and Lockup

Posted: Sun Dec 23, 2018 9:47 pm
by Peke
Hi,
MMW is x86 app so it essentially use up to 3.25GB of RAM. In MMW install folder you have 4GB patch file that will allow you to patch main exe to use more ram.

I have similar number of FLAC files and didn't had any issues while I had 8GB of RAM nor now when I have 16GB.

Can you please Open support ticket and supply us with log liek described at https://www.mediamonkey.com/forum/viewt ... p?f=7&t=69 ?

Re: Thread Creation Error Message and Lockup

Posted: Sat Dec 29, 2018 7:59 am
by Rednroll
Hi Peke,
As luck would seem to have it, once I installed the Debug version the same problem did not seem to occur where it would lock up and freeze.

However, I did get a complete shut-down of MMW where it just closed out while in the middle of a FLAC to MP3 conversion of multiple files. I did not find a 'MediaMonkey.elf' file but I did find a 'MediaMonkey.exe.exp.log' file. I'm just about finished converting these files to MP3 format after breaking them up into smaller group selections. I will once again try to select all the files and do the conversion to see if I'm able to reproduce the same problem with the same symptoms I originally experienced. However, I'm still unsure of the 'MediaMonkey.elf' log file. I selected to install as a portable version if that makes any difference and I'm on Windows 10 Pro x64.

Here are the contents of 'MediaMonkey.exe.exp.log' from the MMW shut-down.
######## EXCEPTION: 0xC0000005 at address: 0x7D7D24C3: ACCESS VIOLATION read attempt to address 0x00000008
1: 02/04/10 00:58:44

1: 0 WMIsAvailableOffline +230714 bytes
1: Decl: WMIsAvailableOffline
1: SymGetModuleInfo): GetLastError = 87

1: 1 WMIsAvailableOffline +231618 bytes
1: Decl: WMIsAvailableOffline
1: SymGetModuleInfo): GetLastError = 87

1: 2 _endthreadex +169 bytes
1: Decl: _endthreadex
1: SymGetModuleInfo): GetLastError = 87

1: 3 GetModuleFileNameA +436 bytes
1: Decl: GetModuleFileNameA
1: SymGetModuleInfo): GetLastError = 87

Re: Thread Creation Error Message and Lockup

Posted: Sat Dec 29, 2018 8:46 am
by Peke
If portable MMW crash ELF should be in install folder, I have sent you PM to get into more details.