Re: OutOfMemory Error
Posted: Thu Jun 26, 2025 4:50 pm
With the Linux installs, UMS does not install libzen and libmediainfo.
Those 2 library files need to be already on the Linux computer.
The only options that I know of are:
You can configure UMS.sh to use the included Java or use the Linux system Java.
I always my Linux system Java.
I did try using the included UMS Java in V14.12.1 but the issue was still present.
You can use the UMS included ffmpeg and tsMuxeR or use the Linux system ffmpeg and tsMuxeR
I always use my Linux system ffmpeg and tsMuxeR.
With a UMS install for Linux, it is set to use the Linux system ffmpeg and tsMuxeR.
This can be overridden to use the UMS supplied ffmpeg and tsMuxeR in UMS.conf
EG:
# Path to ffmpeg (absolute or relative from project.binaries.dir)
# Example: /usr/bin/ffmpeg
# Win: win32/ffmpeg.exe
# Mac: osx/ffmpeg
# Linux: ffmpeg + system PATH
ffmpeg_path =
# Remux videos with tsMuxeR when possible instead of transcoding
# Whether FFmpeg should remux videos with tsMuxeR when possible instead of
# Remux videos with tsMuxeR when possible instead of transcoding
# Transcoding Settings Tab: tsMuxeR Page
# Path to tsMuxeR (absolute or relative from project.binaries.dir)
# Example: /usr/ums/linux/tsMuxeR
# Win: win32/tsMuxeR.exe
# Mac: osx/tsMuxeR
# Linux: tsMuxeR + system PATH
I don't believe that any of this is the issue as it worked fine prior to UMS V14.12
My UMS is running on a 32-BIT version of Gentoo Linux.
So I would think the relative folder in ums.jar is: Linux-i386.
But that folder has no files relating to libzen and libmediainfo in either V14.12 or V14.11 of ums.jar.
There is a another folder though named "linux-x86".
It is located at: "com\sun\jna\linux-x86" in ums.jar
The file inside this folder "libjnidispatch.so" is exactly the same for V14.11 and V14.12 so I wouldn't think this is the issue.
My guess is that a configuration file in ums.jar now has the path for libzen and libmediainfo set to "com\sun\jna\linux-x86" which is incorrect.
I'm sure the developers would know straight away where this configuration file is in ums.jar.
Thanks
Those 2 library files need to be already on the Linux computer.
The only options that I know of are:
You can configure UMS.sh to use the included Java or use the Linux system Java.
I always my Linux system Java.
I did try using the included UMS Java in V14.12.1 but the issue was still present.
You can use the UMS included ffmpeg and tsMuxeR or use the Linux system ffmpeg and tsMuxeR
I always use my Linux system ffmpeg and tsMuxeR.
With a UMS install for Linux, it is set to use the Linux system ffmpeg and tsMuxeR.
This can be overridden to use the UMS supplied ffmpeg and tsMuxeR in UMS.conf
EG:
# Path to ffmpeg (absolute or relative from project.binaries.dir)
# Example: /usr/bin/ffmpeg
# Win: win32/ffmpeg.exe
# Mac: osx/ffmpeg
# Linux: ffmpeg + system PATH
ffmpeg_path =
# Remux videos with tsMuxeR when possible instead of transcoding
# Whether FFmpeg should remux videos with tsMuxeR when possible instead of
# Remux videos with tsMuxeR when possible instead of transcoding
# Transcoding Settings Tab: tsMuxeR Page
# Path to tsMuxeR (absolute or relative from project.binaries.dir)
# Example: /usr/ums/linux/tsMuxeR
# Win: win32/tsMuxeR.exe
# Mac: osx/tsMuxeR
# Linux: tsMuxeR + system PATH
I don't believe that any of this is the issue as it worked fine prior to UMS V14.12
My UMS is running on a 32-BIT version of Gentoo Linux.
So I would think the relative folder in ums.jar is: Linux-i386.
But that folder has no files relating to libzen and libmediainfo in either V14.12 or V14.11 of ums.jar.
There is a another folder though named "linux-x86".
It is located at: "com\sun\jna\linux-x86" in ums.jar
The file inside this folder "libjnidispatch.so" is exactly the same for V14.11 and V14.12 so I wouldn't think this is the issue.
My guess is that a configuration file in ums.jar now has the path for libzen and libmediainfo set to "com\sun\jna\linux-x86" which is incorrect.
I'm sure the developers would know straight away where this configuration file is in ums.jar.
Thanks