Post Reply 
Out of memory error
04-01-2026, 17:26
Post: #2
RE: Out of memory error
Welcome to the MinimServer forum and Happy New Year!

MinimServer is written in Java. By default, the Java VM allocates 25% of total memory for its heap (125 MB on your NAS) A large library can exceed this and this would produce an OutOfMemory error.

The solution is to set an option to tell Java to allocate a larger amount of heap memory. To do this, you need to create a file named minimstart.conf in the MinimServer/etc shared folder. This file should contain a single line as follows:

javaopts = -Xmx250m

After doing this, stop and restart MinimServer from Synology Package Center. MinimServer will now run with 250MB of heap space, which should hopefully be enough for your large library and also leave enough for other system requirements.
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
Out of memory error - Dustcap - 04-01-2026, 15:22
RE: Out of memory error - simoncn - 04-01-2026 17:26
RE: Out of memory error - Dustcap - 04-01-2026, 20:07

Forum Jump:


User(s) browsing this thread: 1 Guest(s)