Hallo,
ich habe da ein ähnliches Problem. Auch bei mir läuft der Awtrix-Server ein paar Tage du´rch und stürtzt dann ab.
Bei mir läuft Awtrix auf einem Raspberry 3 mit. Das sieht dann im Log so aus:
`
04:27:56 Receive basics API command
04:28:20 Matrix connection Timeout!
04:28:20 Connecting with WiFi
04:28:26 Waiting for Matrix to connect
04:29:12 Matrix has reconnected
java.lang.OutOfMemoryError: Java heap space
Unexpected thread death: org.eclipse.jetty.util.thread.QueuedThreadPool$2@5a861a in QueuedThreadPool[qtp17514671]@10b40af{STARTED,8<=8<=200,i=3,q=0}[ReservedThreadExecutor@13a22a9{s=0/4,p=0}]
java.lang.OutOfMemoryError: Java heap space
An exception was thrown by a user handler's exceptionCaught() method while handling the following exception:
main.main (java line: 28)
Force-closing a channel whose registration task was not accepted by an event loop: [id: 0x28245074, /10.0.0.29:60511 => /10.0.0.27:7001]
Failed to submit a listener notification task. Event loop shut down?
java.lang.RuntimeException: java.lang.RuntimeException: java.lang.OutOfMemoryError: Java heap space
at anywheresoftware.b4a.BA.raiseEvent2(BA.java:120)
at anywheresoftware.b4a.BA.raiseEvent(BA.java:78)
at de.awtrix.main.main(main.java:28)
Caused by: java.lang.RuntimeException: java.lang.OutOfMemoryError: Java heap space
at anywheresoftware.b4a.BA.raiseEvent2(BA.java:120)
at anywheresoftware.b4a.BA$3.run(BA.java:247)
at anywheresoftware.b4a.keywords.SimpleMessageLoop.runMessageLoop(SimpleMessageLoop.java:30)
at anywheresoftware.b4a.StandardBA.startMessageLoop(StandardBA.java:26)
at anywheresoftware.b4a.keywords.Common.StartMessageLoop(Common.java:153)
at de.awtrix.main.appstart(main.java:326)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at anywheresoftware.b4a.BA.raiseEvent2(BA.java:91)
... 2 more
Caused by: java.lang.OutOfMemoryError: Java heap space
at java.nio.HeapByteBuffer.<init>(HeapByteBuffer.java:57)
at java.nio.ByteBuffer.allocate(ByteBuffer.java:335)
at sun.nio.cs.StreamEncoder.<init>(StreamEncoder.java:195)
at sun.nio.cs.StreamEncoder.<init>(StreamEncoder.java:175)
at sun.nio.cs.StreamEncoder.forOutputStreamWriter(StreamEncoder.java:68)
at java.io.OutputStreamWriter.<init>(OutputStreamWriter.java:133)
at anywheresoftware.b4a.objects.streams.File$TextWriterWrapper.Initialize(File.java:544)
at anywheresoftware.b4a.objects.streams.File.WriteString(File.java:261)
at de.awtrix.settings.save(settings.java:465)
at de.awtrix.periphery.exitmenus(periphery.java:637)
at de.awtrix.matrix$ResumableSub_MsgFromMatrix.resume(matrix.java:2274)
at de.awtrix.matrix.msgfrommatrix(matrix.java:2147)
at de.awtrix.matrix._display_messagearrived(matrix.java:1256)
at sun.reflect.GeneratedMethodAccessor8.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at anywheresoftware.b4a.BA.raiseEvent2(BA.java:91)
... 12 more
Serious error processing the message org.eclipse.moquette.proto.messages.PublishMessage@1dd867c for session [clientID: 1599791302588]org.eclipse.moquette.server.netty.NettyChannel@1e2149f
Force-closing a channel whose registration task was not accepted by an event loop: [id: 0x345320bc, /10.0.0.29:56652 => /10.0.0.27:7001]
Failed to submit a listener notification task. Event loop shut down?
A task raised an exception.
Severe error during pipeline creation
Unexpected exception in the selector loop.
Unexpected exception in the selector loop.
An exceptionCaught() event was fired, and it reached at the tail of the pipeline. It usually means the last handler in the pipeline did not handle the exception.
Unexpected exception in the selector loop.
An exceptionCaught() event was fired, and it reached at the tail of the pipeline. It usually means the last handler in the pipeline did not handle the exception.
An exception was thrown by a user handler's exceptionCaught() method while handling the following exception:
Unexpected exception in the selector loop.
`