|
ReadyNAS V0.71 java heap space error
|
|
30-04-2013, 13:26
(This post was last modified: 30-04-2013 13:27 by simoncn.)
Post: #9
|
|||
|
|||
RE: ReadyNAS V0.71 java heap space error
(30-04-2013 12:03)guenter55 Wrote: Simon, thank you for the new 0.72 release. I've looked at the log, and the memory usage seems normal for this number of files. MinimServer wasn't designed to handle 500,000 files, and I'm not sure how well it will work with such a large library. To get through the startup phase, you'll need to increase the Java maximum heap size to 256 MB (see instructions below). After this, you might encounter further problems. For example, the total RAM size on the NV+ v2 is only 256 MB, so MinimServer will consume all available RAM and this might cause the NAS to run very slowly. I'll be interested to hear your experiences. To increase the Java maximum heap size, you need to edit the file /etc/frontview/addons/bin/MINIMSERVER/start.sh and change line 62 from: LD_LIBRARY_PATH=$MINIMSERVER/libsys $JAVA -jar ../lib/minimserver.jar --noconsole </dev/null >$OUT_FILE 2>&1 & to: LD_LIBRARY_PATH=$MINIMSERVER/libsys $JAVA -Xmx256m -jar ../lib/minimserver.jar --noconsole </dev/null >$OUT_FILE 2>&1 & To get access to this file, you need to install the "Enable root SSH access" ReadyNAS add-on. After installing this, you can login as root and edit the file directly on the NAS, or you can use WinSCP to copy the file to a Windows PC, edit it there, and copy the modified version back to the NAS. After editing this file, use Frontview to stop MinimServer and then restart it. You need to do this restart from Frontview, not from MinimWatch. |
|||
|
« Next Oldest | Next Newest »
|
User(s) browsing this thread: 1 Guest(s)

Search
Member List
Calendar
Help



