Post Reply 
 
Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
OutOfMemoryError
15-12-2018, 15:21
Post: #1
OutOfMemoryError
Hi,
My readynas went AWOL so I replaced it with a QNAP TS421, installed Minimserver on it and proceeded to replace my music files from backup.
However I have hit a problem. I keep on getting a red minim server icon informing me that I have a Java heap space out of memory error. This used to happen with the ReadyNAs, But was solveable if I reduced the numebr of folders to below about 64000.
However on the QNAP it seems to be happening when the number of folders reaches about 32000, which is not nearly enough to accommodate my music files. Can you help, please?
Chris
Find all posts by this user
Quote this message in a reply
15-12-2018, 15:49
Post: #2
RE: OutOfMemoryError
(15-12-2018 15:21)JCHRISJORDAN Wrote:  Hi,
My readynas went AWOL so I replaced it with a QNAP TS421, installed Minimserver on it and proceeded to replace my music files from backup.
However I have hit a problem. I keep on getting a red minim server icon informing me that I have a Java heap space out of memory error. This used to happen with the ReadyNAs, But was solveable if I reduced the numebr of folders to below about 64000.
However on the QNAP it seems to be happening when the number of folders reaches about 32000, which is not nearly enough to accommodate my music files. Can you help, please?
Chris
It is a QNAP TS412 I have, not a TS421
Find all posts by this user
Quote this message in a reply
15-12-2018, 16:13
Post: #3
RE: OutOfMemoryError
This error normally means that Java doesn't have enough heap space. The TS412 has only 256 MB of RAM and this might not be sufficient for the size of your library. It might be possible to increase the Java heap size by editing a Linux system file on your NAS. Do you have any previous experience of editing Linux system files?

As a starting point to confirm the cause of the problem, set the MinimServer serverOptions property to

resourceInfo=10000

then restart MinimServer. After you get the "red icon" failure, your MinimServer log should include some pairs of lines like this:

resourceInfo: heap bytes used 2302816, consumed 2299800, committed 8257536, max 127795200
resourceInfo: non-heap bytes used 9827416, committed 10215424, max 33554431

Please post the last pair of these lines that you see in your log before the failure.
Find all posts by this user
Quote this message in a reply
Post Reply 


Forum Jump:


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