MinimServer Forum
Minimserver stopped with error - Printable Version

+- MinimServer Forum (https://forum.minimserver.com)
+-- Forum: MinimServer (/forumdisplay.php?fid=1)
+--- Forum: Support (/forumdisplay.php?fid=4)
+--- Thread: Minimserver stopped with error (/showthread.php?tid=6808)



Minimserver stopped with error - mightyoakbob - 18-01-2023 11:31

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.


RE: Minimserver stopped with error - simoncn - 18-01-2023 12:43

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.


RE: Minimserver stopped with error - mightyoakbob - 18-01-2023 13:26

(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.