Welcome, Guest. Please login or register.

Author Topic: ErrorLog  (Read 142 times)

0 Members and 1 Guest are viewing this topic.

Offline Monolith

  • Fresh Nxter
  • *
  • Posts: 6
    • View Profile
ErrorLog
« on: December 06, 2013, 11:18:43 PM »
I don't know any bugtracker or something so I just post my report here so it doesn't get lost. I had the nxt server running for a few hours, then I put the machine in standby and traveled home. I took the machine up again in another WLAN and the Wallet-Page stopped responding. I found Java was running out of heap-space:

2013-12-05 22:53:30.255:INFO:oejsh.ContextHandler:main: Started o.e.j.w.WebAppContext@1da5688d{/,file:/Users/mono/Downloads/nxt/webapps/root/,AVAILABLE}{/root}
2013-12-05 22:53:30.300:INFO:oejs.ServerConnector:main: Started ServerConnector@1111c0d7{HTTP/1.1}{0.0.0.0:7874}
2013-12-05 22:53:30.942:INFO:oejs.ServerConnector:main: Started ServerConnector@42e164e6{SSL-http/1.1}{0.0.0.0:7875}
2013-12-06 15:17:20.567:WARN:oejs.ServletHandler:qtp114428632-779: Error for /nxt
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.java:114)
   at java.lang.AbstractStringBuilder.append(AbstractStringBuilder.java:415)
   at java.lang.StringBuffer.append(StringBuffer.java:237)
   at org.json.simple.JSONArray.toJSONString(JSONArray.java:91)
   at org.json.simple.JSONArray.toJSONString(JSONArray.java:98)
   at org.json.simple.JSONValue.toJSONString(JSONValue.java:199)
   at org.json.simple.JSONObject.toJSONString(JSONObject.java:119)
   at org.json.simple.JSONObject.toJSONString(JSONObject.java:101)
   at org.json.simple.JSONObject.toJSONString(JSONObject.java:108)
   at org.json.simple.JSONObject.toString(JSONObject.java:125)
   at Nxt.doGet(Unknown Source)
   at javax.servlet.http.HttpServlet.service(HttpServlet.java:687)
   at javax.servlet.http.HttpServlet.service(HttpServlet.java:790)
   at org.eclipse.jetty.servlet.ServletHolder.handle(ServletHolder.java:696)
   at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:526)
   at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:143)
   at org.eclipse.jetty.security.SecurityHandler.handle(SecurityHandler.java:568)
   at org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:221)
   at org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1110)
   at org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:453)
   at org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:183)
   at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:1044)
   at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:141)
   at org.eclipse.jetty.server.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:199)
   at org.eclipse.jetty.server.handler.HandlerCollection.handle(HandlerCollection.java:109)
   at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:97)
   at org.eclipse.jetty.server.Server.handle(Server.java:459)
   at org.eclipse.jetty.server.HttpChannel.handle(HttpChannel.java:280)
   at org.eclipse.jetty.server.HttpConnection.onFillable(HttpConnection.java:229)
   at org.eclipse.jetty.io.AbstractConnection$1.run(AbstractConnection.java:505)
Exception in thread "Scanner-0" java.lang.OutOfMemoryError: Java heap space
Exception in thread "Thread-13" java.lang.OutOfMemoryError: Java heap space
2013-12-06 17:53:39.951:WARN:oejs.ServletHandler:qtp114428632-1010: Error for /nxt
java.lang.OutOfMemoryError: Java heap space
Exception in thread "HashSessionScavenger-0" java.lang.OutOfMemoryError: Java heap space
2013-12-06 20:58:26.243:WARN:oejut.QueuedThreadPool:qtp114428632-1048:
java.lang.OutOfMemoryError: Java heap space
2013-12-06 20:58:27.973:WARN:oejut.QueuedThreadPool:qtp114428632-1052:
java.lang.OutOfMemoryError: Java heap space
2013-12-06 20:58:43.008:WARN:oejh.HttpParser:qtp114428632-1053: badMessage: 400 Illegal character for HttpChannelOverHttp@68c5fbe4{r=0,a=IDLE,uri=-}
2013-12-06 20:58:40.393:WARN:oejut.QueuedThreadPool:qtp114428632-1054:
java.lang.OutOfMemoryError: Java heap space
2013-12-06 20:58:46.461:WARN:oejut.QueuedThreadPool:qtp114428632-1055:
java.lang.OutOfMemoryError: Java heap space
2013-12-06 20:59:34.509:WARN:oejut.QueuedThreadPool:qtp114428632-1053:
java.lang.OutOfMemoryError: Java heap space


I'm here for questions and tests. I'd also provide the logs if they help. Feel free to ignore this post if it is a known issue.
Like my stuff? Show your love by sending me or someone from the Giveaway-Threads (https://nextcoin.org/index.php/board,29.0.html) 1 NxT
NxT: 12068132590006806208

Online Come-from-Beyond

  • Legendary Nxter
  • *****
  • Posts: 603
    • View Profile
Re: ErrorLog
« Reply #1 on: December 06, 2013, 11:22:29 PM »
Thank u for the report.

Looks like ur JVM ran out of memory. Try to launch NRS this way:

Code: [Select]
java -Xms256m -Xmx1024m -jar start.jar
U can replace 256 and 1024 with other values according to RAM available on the machine.

Offline ben

  • Nxter
  • **
  • Posts: 85
    • View Profile
Re: ErrorLog
« Reply #2 on: December 07, 2013, 12:37:37 PM »
i have also some errors with the java HashMap of the blockchain...

after  the client has chrashed i think blockchain is corrupted and i get an EOF error....

There should be error checking for the blockchain implemented...

allways having blockchain backups is not usable for the normal user
----
THANK YOU for donating some NXT @   4592292783 (ID is really that short!)
for keeping nxt1.servebeer.com up and running

Online Come-from-Beyond

  • Legendary Nxter
  • *****
  • Posts: 603
    • View Profile
Re: ErrorLog
« Reply #3 on: December 07, 2013, 01:30:07 PM »
I'm working on this.