|
Out of memory error
|
|
04-01-2026, 15:22
Post: #1
|
|||
|
|||
|
Out of memory error
Actually a good reason for my first post here: Happy new year and all the best for 2026!
I'm with a trial license on my quite old Synology DS215j. It has only 500 MB of RAM and 8 TB of HDDs (92% full). I use that NAS only for my personal "huge" music library - nothing else. MinimServer worked well with its initial settings and even with my first own "optimisations". With the following settings MS2 could not read my entire library and ended with an out of memory error: Code: .configVersion = 2.2.118Is there anything wrong with these settings? Best regards, Thomas |
|||
|
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. |
|||
|
04-01-2026, 20:07
Post: #3
|
|||
|
|||
|
RE: Out of memory error
Thank you very much, Simon!
The rescan was succesful at the first attempt and the server seems to work fine now.
|
|||
|
« Next Oldest | Next Newest »
|
User(s) browsing this thread: 1 Guest(s)

Search
Member List
Calendar
Help



