getmusicbee.com

Support => Bug Reports => Topic started by: collector on April 20, 2020, 04:56:13 AM

Title: Unable to rescan library, files being marked "missing"
Post by: collector on April 20, 2020, 04:56:13 AM
Error below:
Code
4/19/2020 8:52:20 PM - 10.0.17763.0 - 3.3.7367.38620D - System.OutOfMemoryException: Exception of type 'System.OutOfMemoryException' was thrown.
   at System.Collections.Generic.HashSet`1.SetCapacity(Int32 newSize, Boolean forceNewHashCodes)
   at System.Collections.Generic.HashSet`1.IncreaseCapacity()
   at System.Collections.Generic.HashSet`1.AddIfNotPresent(T value)
  

MusicBee will mark all tracks in the library as "Missing" but clicking locate locates them instantly and they play without issue (ie, no corruption/files haven't been moved). It's also reporting my library at half the size it truly is (about 350,000 tracks vs about 850,000 tracks). Any ideas?
Title: Re: Unable to rescan library, files being marked "missing"
Post by: psychoadept on April 20, 2020, 05:08:45 AM
Hi, welcome to the forum!

Where are your files stored?
Title: Re: Unable to rescan library, files being marked "missing"
Post by: collector on April 20, 2020, 08:12:41 AM
They're stored on a Drivepool disk (which is a clump of several disks) but MusicBee and Windows see it as one hard drive.
Title: Re: Unable to rescan library, files being marked "missing"
Post by: Steven on April 20, 2020, 08:47:46 AM
does it mark them as missing or as not accessible?
Title: Re: Unable to rescan library, files being marked "missing"
Post by: collector on April 20, 2020, 10:09:44 AM
Missing. After a reinstall it recognizes the files as being present without issue but the issue above is still there.
Title: Re: Unable to rescan library, files being marked "missing"
Post by: Steven on April 20, 2020, 10:30:24 AM
you reported 3 issues. If its the memory failure you will probably need to consider splitting your library so its not so huge.
If its the missing files, i dont have any suggestions.
And when you say Rescan that means something different to what I think you are doing - perhaps you are pressing the Insert key or File/ Add Files to Library?
Title: Re: Unable to rescan library, files being marked "missing"
Post by: collector on April 20, 2020, 05:13:51 PM
Correct, pressing the insert key. Scanning for new files. I'd really prefer not to split my library, is there no way to increase the memory usage of MusicBee? I have 64GB to play with and never see MusicBee using more than a GB.
Title: Re: Unable to rescan library, files being marked "missing"
Post by: frankz on April 20, 2020, 05:40:19 PM
Can't you put new files in a "Holding" folder, scan that folder for new files, and then sweep them to your massive library folder when you add them to the library rather than scanning the massive library each time?
Title: Re: Unable to rescan library, files being marked "missing"
Post by: sveakul on April 20, 2020, 06:36:23 PM
is there no way to increase the memory usage of MusicBee? I have 64GB to play with and never see MusicBee using more than a GB.

This is discussed here:  https://getmusicbee.com/forum/index.php?topic=22778.0 (https://getmusicbee.com/forum/index.php?topic=22778.0)

As it seems the download referred to in the "1a" option is no longer available, you would need to go with the "1b" option instead if you wanted to try the solution.
Title: Re: Unable to rescan library, files being marked "missing"
Post by: collector on April 21, 2020, 01:47:21 AM
is there no way to increase the memory usage of MusicBee? I have 64GB to play with and never see MusicBee using more than a GB.

This is discussed here:  https://getmusicbee.com/forum/index.php?topic=22778.0 (https://getmusicbee.com/forum/index.php?topic=22778.0)

As it seems the download referred to in the "1a" option is no longer available, you would need to go with the "1b" option instead if you wanted to try the solution.

Step iii seems to be outdated:

iii) Click the "Individual components" tab and select "C++/CLI support" and "VC++ 2017 v141 toolset (x86,x64)" and finish the install

VC++ 2017 v141 toolset is not on the components list and C++/CLI Support is split into multiple packages with different versions. I've downloaded v141 of C++/CLI support. Does this sound like the right idea?
Title: Re: Unable to rescan library, files being marked "missing"
Post by: Steven on April 21, 2020, 08:20:38 AM
I have uploaded editbin and the associated required files
https://www.mediafire.com/file/9h6dxa3wcg84tdh/EditBin.zip/file

you need to run:
editbin /LARGEADDRESSAWARE MusicBee.exe
Title: Re: Unable to rescan library, files being marked "missing"
Post by: collector on April 21, 2020, 08:32:18 AM
https://i.imgur.com/OuWxBn1.png
Am I doing something wrong here?
Title: Re: Unable to rescan library, files being marked "missing"
Post by: Steven on April 22, 2020, 09:44:12 AM
run editbin as an admistrator or copy musicbee.exe to somewhere you have write access first
Title: Re: Unable to rescan library, files being marked "missing"
Post by: sveakul on April 22, 2020, 06:53:20 PM
Steven:  tried performing this operation using your posted package with all files therein copied to an empty directory along with MusicBee.exe.  Received the error message below.  Using Windows 10 v1909 64-bit, MusicBee 3.3.7410-P.  Visual C++ 2015 redist x64 is installed on the PC.

(https://i.imgur.com/YXhOnpz.png)
Title: Re: Unable to rescan library, files being marked "missing"
Post by: Steven on April 23, 2020, 09:39:11 AM
it looks like you need the visual studio redistributable package installed

https://support.microsoft.com/en-gb/help/2977003/the-latest-supported-visual-c-downloads
Title: Re: Unable to rescan library, files being marked "missing"
Post by: sveakul on April 23, 2020, 05:59:19 PM
Thanks Steven, that worked!  Obviously having only the 2015 redist didn't cut the mustard.  BTW, to verify that the flag has been set, instead of trying to dig dumpbin.exe out of the Microsoft Common Tools for Visual C download I found a small GUI app that works too, "wumpbin" (http://www.benf.org/other/wumpbin/index.html (http://www.benf.org/other/wumpbin/index.html)) :

(https://i.imgur.com/I5GpQab.png)
Title: Re: Unable to rescan library, files being marked "missing"
Post by: collector on April 25, 2020, 10:59:20 PM
it looks like you need the visual studio redistributable package installed

https://support.microsoft.com/en-gb/help/2977003/the-latest-supported-visual-c-downloads


This worked perfectly! I didn't verify that it worked but instead opted to scan my library and saw memory usage surpass the previous limit without a crash. Really appreciate the help. Thanks!!!!