Post
Topic
Board Announcements (Altcoins)
Re: NXT :: descendant of Bitcoin - Updated Information
by
grex
on 17/02/2014, 15:00:33 UTC
Hey eb,

got a MASSIVE stacktrace with out of memory an hour ago - raspi
...
Memory: 4k page, physical 448180k(29320k free), swap 102396k(3032k free)
...


Holy sh*t, you must start java with Xmx option.

swap 102396k(3032k free) that means your raspi was swapping 100MB on its sdcard, that will not work and your sdcard will die very fast.

Use:
java -Xmx150m -jar start.jar

And tell me how it goes. This way it will never oom on any raspi version.

Greets,
eb


Hi eb,

below is the java line from my start script.  used to run -Xmx756 while I assumed to have 1GB, now it is  running on this:

$java >> $nxtlog -- -Xms128m -Xmx456m -jar $nxt STOP.PORT=7873 STOP.KEY=0815 2>&1 >> $nxtlog & then


Are you recommending other params? I was under the impression that Xms128m is minimum java heap, and Xmx456m is maximum java heap ...

-Xmx150m is the only setting which is working with 0.7.5 and my RasPI.
Up for ~12 hours now, with others settings it crashed after a few minutes.