-
Notifications
You must be signed in to change notification settings - Fork 7
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Server crashs when initialising a fresh syncronisation from a client #45
Comments
Intriguing. Maybe the prebuilt executable doesn't have enough maximum memory allocated to it? Could you try running it from the source, instead of from the prebuilt release, and see if that changes things? |
I will try that but installing development tools on Windows Server is a bit tricky. |
Unfortunately I always get an error message
I don't know if this is being caused by a faulty dev environment or by some other errors?! |
I think I have solved this issue by downloading the Anyway I think this should be fixed in the sources. |
Okay so after running
|
Ah, great. Yeah, the windows-trayicon module is quite problematic; Usually I'm able to get it to work by deleting node_modules, manually doing
Oh, goodness gracious. I made a pull request the other day where I was trying to bring the |
Okay - I have recognised a couple of other dependencies. I'll wait for your information about the merge. |
There we go - I've updated the master branch with those dependency fixes. If you cloned it initially with The switch to better-sqlite3 is the most major improvement, however; Let me know if it works better for you this time. |
Okay it works now - compilation worked flawless. I have tried to enter the Windows path of my music folder Didn't work. |
Okay the collection shows now up - strange why it did not do that in the first step. |
"Sign out" within MM5 is not working. As soon as I click it MM5 says that the server is not working "Server ist ausgefallen." in German. I'll try to delete and re-add it. |
Okay did not work - additional MM5 throws a JS alert "listPlaylists error 401 :Not logged in. |
Ah - I'll be honest, I haven't tested this new system within MM5. Only via the web application. If it doesn't work for you, I think your best bet will be to install the version of MMS before my accidental merge: https://github.com/mediamonkeyserver/mms/tree/20c7b5083757afc8dd762a03815ef1d671def0e3 |
No problems - I just tried to test MMS if this could be used within my network as MM5 throws also an error when I want to install it on my Windows Server 2019. Regarding the mentioned version: It also throws the |
That dang windows-trayicon package. :P |
I will leave it for the moment. I think I'll launch a dedicated VM for that. Is anyone build regular compiled packages for Windows machines? |
I suspect that it might be related to the default memory limitations of Node.js. I tried to compile the package option --max_old_space_size=8192 as recommended at https://support.circleci.com/hc/en-us/articles/360009208393-How-can-I-increase-the-max-memory-for-Node-. I updated the MMS-win64-0.3.2.rar package (still the same codebase, just this different runtime option), please try it if you can. |
Thanks for the update. If so then the intial synchronisation is working properly -> MMS is querying the folder for new stuff while MM5 is getting any new music file directly from MMS. I will stop this process now and wait for MMS to have it's intial process finished and then reconnect MM5 again as this was original issue I had. |
Okay the syncronisation works flawless. I recognised that there are sometimes some audio artifacts while streaming via MMS - is this a known issue? |
Right, the new updated build there was compiled with the new flag. Thanks for confirmation! Will include this flag in future builds, closing this issue now. As for the audio artifacts, no, this should work fine. Feel free to create a new issue. Would be good to know whether it's related to particular audio format and whether the format needs to be converted on-the-fly for the target device. |
Hello there,
I recently tried the MM server but unfortunately I get an exception at the initial sync:
PS C:\Users\mmuehlbacher\Downloads\MMS-win64-0.3.2> .\mms.exe --ssdpLog Database loaded in 5 ms ================================================== MMS v0.3.2 running at http://x.x.x.x:10222 (or http://localhost:10222) Connect using a web browser or using MediaMonkey 5. ================================================== 101243 files has been read from SQL DB in 10138 milliseconds Scan music directory: file:G:/Musik, 57504 files to process
FATAL ERROR: CALL_AND_RETRY_LAST Allocation failed - JavaScript heap out of memory
1: 00007FF60DCEBBFF RC4_options+2528383
2: 00007FF60DCB4C56 RC4_options+2303190
3: 00007FF60DCBABC0 RC4_options+2327616
4: 00007FF60E0E2DFE RC4_options+6686334
5: 00007FF60E0ABF56 RC4_options+6461398
6: 00007FF60E1CCC4C RC4_options+7644364
7: 00007FF60E1C7F14 RC4_options+7624596
8: 00007FF60E1FB1C4 RC4_options+7834180
9: 00007FF60E1742E8 RC4_options+7281512
10: 00007FF60E0AC47B RC4_options+6462715
11: 00007FF60E0F0676 RC4_options+6741750
12: 00007FF60DCA0026 RC4_options+2218150
13: 00007FF60E4B80BE RC4_options+10705214
14: 00007FF60E4B72CB RC4_options+10701643
15: 00007FF60E4B7768 RC4_options+10702824
16: 00007FF60E4B757B RC4_options+10702331
17: 000000FC75FDC5C1
The text was updated successfully, but these errors were encountered: