Post Reply 
Minimserver stopped with error
18-01-2023, 11:31
Post: #1
Minimserver stopped with error
Hi,

I've never seen this before. I came to use Minimserver this morning and my clients saying no server. I restarted Minimserver and it seems to be working again now but there was an error message..

Exception while processing action request: java.lang.OutOfMemoryerror: Java heap space.

NAS is synology DS214+

Bob.
Find all posts by this user
Quote this message in a reply
18-01-2023, 12:43
Post: #2
RE: Minimserver stopped with error
This message means MinimServer has used all the system memory (RAM) that is available to it. This can happen if you have a large library or you are using MiniMServer options that require additional memory.

You can track memory usage with Synology Resource Monitor. The total memory available on a DS214+ is 1 GB and by default MinimServer will allocate 256 MB of this as available to use.

You can increase this allocation. For example, to allocate a maximum of 400 MB for MinimServer, create a file named minimstart.conf in the MinimServer/etc shared folder. This file should contain a single line as follows:

javaopts = -Xmx400m

After you have done this, stop and restart MinimServer from Package Center. Near the start of the MinimServer log, you should see this line:

Java runtime options: -Xmx400m

to confirm that the new configuration option was accepted.
Find all posts by this user
Quote this message in a reply
18-01-2023, 13:26
Post: #3
RE: Minimserver stopped with error
(18-01-2023 12:43)simoncn Wrote:  You can increase this allocation. For example, to allocate a maximum of 400 MB for MinimServer, create a file named minimstart.conf in the MinimServer/etc shared folder. This file should contain a single line as follows:

javaopts = -Xmx400m

After you have done this, stop and restart MinimServer from Package Center. Near the start of the MinimServer log, you should see this line:

Java runtime options: -Xmx400m

to confirm that the new configuration option was accepted.

I've done that, I hope that's the end of the issue.
Thank you.
Bob.
Find all posts by this user
Quote this message in a reply
Post Reply 


Forum Jump:


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