UMS closes by itself
Forum rules
Please make sure you follow the Problem Reporting Guidelines before posting if you want a reply
Please make sure you follow the Problem Reporting Guidelines before posting if you want a reply
Re: UMS closes by itself
Got it, many thanks for your assistance, appreciate! I'll try it out! No, last question, sorry: I suppose, I can adjust my conf on-the-fly, just restart the server? So I don't need to reindex from scratch?
Re: UMS closes by itself
Yes, make your changes and restart your server.
Cheers
PS: How much ram on the computer UMS is running on?
Cheers
PS: How much ram on the computer UMS is running on?
Re: UMS closes by itself
My PC has 16 GB RAM in total. During UMS installation I didn't change the default setting, I guess, it was kind of 4096, so 4GB, right? Should I increase somehow, how could I do that? Thanks!
Re: UMS closes by itself
I run UMS on a Linux server which has a separate file (UMS.sh) in the install folder where the memory size can adusted.
I installed UMS on a windows computer and that configuration file is not present.
On install (windows computer) it asks what what memory size you would like.
The default is 1280 but my computer only has 8GB of RAM. Maybe with your computer (16GB RAM) the default size was greater.
The 2 options for you:
Do a reinstall and change the RAM size.
Or
Edit the registry file and change it there. (UMS for windows keeps this setting in the registry)
The location in the registry is:
You just need to change the HeapMem size. I run 2048 on my Linux server.
If your HeapMem size is 1280, change it to 2048.
If your HeapMem size is already 2048 you could change it to 4096 considering you have 16GB of RAM.
I installed UMS on a windows computer and that configuration file is not present.
On install (windows computer) it asks what what memory size you would like.
The default is 1280 but my computer only has 8GB of RAM. Maybe with your computer (16GB RAM) the default size was greater.
The 2 options for you:
Do a reinstall and change the RAM size.
Or
Edit the registry file and change it there. (UMS for windows keeps this setting in the registry)
The location in the registry is:
Code: Select all
[HKEY_LOCAL_MACHINE\SOFTWARE\Universal Media Server]
"BinaryRevision"="201"
"HeapMem"="1280"
If your HeapMem size is 1280, change it to 2048.
If your HeapMem size is already 2048 you could change it to 4096 considering you have 16GB of RAM.
Re: UMS closes by itself
Many thanks! I have adjusted my shared folders, now UMS is indexing just selected folders, but the issue is still there. I increased now via registry the HeapMem from 4096 to 8192 and started UMS in TRACE mode, let's see ...
Re: UMS closes by itself
Unfortunately this didn't help, I mean 8192 GB of RAM for UMS. Attached please find the last log files (there were 001,002,003 and 004 but they're too big to be loaded here). I was wondering though that I could not find smth like "out of memory", so I have no idea what caused the crash.
P.S. Aaahhhh, I found yet another exception, please find attached the new ZIP with debug.0000 - could you please have a look? Thx!
P.S. Aaahhhh, I found yet another exception, please find attached the new ZIP with debug.0000 - could you please have a look? Thx!
- Attachments
-
- debug.log.prev.zip
- (215.69 KiB) Downloaded 260 times
-
- debug.0005.zip
- (3.18 MiB) Downloaded 259 times
Re: UMS closes by itself
You have a great deal of files with the path like:
There some real strange characters in that path.
Is that the actual path and filename?
I remember once I had just 1 video file with an illegal character in the file name and no files would display in UMS for the entire folder.
Not that that is your issue though.
I see also it says "WindowsUtils Using short path name of".
I'm guessing it is doing that because the full path and file name is greater than the limit of 256 characters.
What I would try next.
Create a folder on your D: (call it Test).
Create 3 subfolders: Video Music Images
Copy 50 or so files to those subfolders. Make sure they are files with no strange characters in the name.
Modify your SHARED.conf
Add:
Then modify all the other entries in SHARED.conf for these settings to:
Restart UMS and see if the problem happens again.
That will prove if the problem is the files UMS is accessing or some other problem which has nothing to do with your media files.
Code: Select all
net.pms.platform.windows.WindowsUtils Using short path name of "D:\Photos\2018 Фотоархив\2018 11 Andalusien Spanien\СевильÑ\DSC_6811.JPG": "D:\Photos\2018 Фотоархив\2018 11 Andalusien Spanien\СевильÑ\DSC_6811.JPG"
Is that the actual path and filename?
I remember once I had just 1 video file with an illegal character in the file name and no files would display in UMS for the entire folder.
Not that that is your issue though.
I see also it says "WindowsUtils Using short path name of".
I'm guessing it is doing that because the full path and file name is greater than the limit of 256 characters.
What I would try next.
Create a folder on your D: (call it Test).
Create 3 subfolders: Video Music Images
Copy 50 or so files to those subfolders. Make sure they are files with no strange characters in the name.
Modify your SHARED.conf
Add:
Code: Select all
{
"file": "D:\\Test",
"monitored": true,
"metadata": true,
"active": true,
"groups": [],
"type": "Folder"
}
Code: Select all
monitored": false,
"metadata": false,
"active": false,
That will prove if the problem is the files UMS is accessing or some other problem which has nothing to do with your media files.
Re: UMS closes by itself
Yes, this is the real path, these are cyrillic charachters which are absolutely OK, UMS can deal with them. So I don't see any issue here. Coould you please have yet another look again at my previous post? I had an update there with yet another log file and maybe a hint (exception caught). Thanks!boss wrote: ↑Fri Feb 07, 2025 12:13 am You have a great deal of files with the path like:
net.pms.platform.windows.WindowsUtils Using short path name of "D:\Photos\2018 Фотоархив\2018 11 Andalusien Spanien\СевильÑ\DSC_6811.JPG": "D:\Photos\2018 Фотоархив\2018 11 Andalusien Spanien\СевильÑ\DSC_6811.JPG"
There some real strange characters in that path.
Is that the actual path and filename?
P.S. You know sometimes it takes just 10 min and UMS is away / down, sometimes it's running several days - strange ...
Re: UMS closes by itself
It looks like it may be a java issue.
Do you have the latest version of java on your computer?
Do you have the latest version of java on your computer?
Re: UMS closes by itself
I didn't install any Java framework explicitely. I suppose, UMS has installed smth during its installation. How could I check? What should I install in order to be sure?