Post Reply 
ReadyNAS V0.71 java heap space error
27-04-2013, 09:44
Post: #1
ReadyNAS V0.71 java heap space error
Hi,

I've installed MinimServer V0.71 in my ReadyNAS NV+ V2 (ARM).

It workes fine with a relatively smal database (about 8000 MP3s).

Now I have extended the numer of files (135000 MP3s) and the MininServer
crashes with the following message (end of the log):

Scanning directory Jive Bunny - The Best Of (Complete Album)
java.lang.OutOfMemoryError: Java heap space
at java.util.Arrays.copyOf(Arrays.java:2367)
at java.lang.AbstractStringBuilder.expandCapacity(AbstractStringBuilder.java:130)
at java.lang.AbstractStringBuilder.ensureCapacityInternal(AbstractStringBuilder.jav​a:114)
at java.lang.AbstractStringBuilder.append(AbstractStringBuilder.java:415)
at java.lang.StringBuilder.append(StringBuilder.java:132)
at com.minimserver.Server.readMetadata(Server.java:4236)
at com.minimserver.Server.scanFiles(Server.java:3027)
at com.minimserver.Server.scanFiles(Server.java:3600)
at com.minimserver.Server.scanFiles(Server.java:3600)
at com.minimserver.Server.scanFiles(Server.java:3600)
at com.minimserver.Server.readFiles(Server.java:2587)
at com.minimserver.Server.doStart(Server.java:1452)
at com.minimserver.Server.start(Server.java:382)
at org.jminim.core.ContextImpl.startComponent(ContextImpl.java:156)
at org.jminim.core.ContextImpl.start(ContextImpl.java:84)
at org.jminim.core.RuntimeImpl.run(RuntimeImpl.java:393)
at org.jminim.core.LauncherImpl.run(LauncherImpl.java:681)
at org.jminim.core.LauncherImpl.launch(LauncherImpl.java:85)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.jav​a:43)
at java.lang.reflect.Method.invoke(Method.java:601)
at org.jminim.launch.Launcher.launch(Launcher.java:64)
at com.minimserver.launch.LaunchServer.main(LaunchServer.java:23)

Does anyone have an idea how to solve the problem?
Guenter
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
ReadyNAS V0.71 java heap space error - guenter55 - 27-04-2013 09:44

Forum Jump:


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