Details
-
Bug
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
0.8.0, 0.9.0
-
None
Description
After a month of continous work CANopen driver starts to fail with following error:
Exception in thread "javacan-reader" java.lang.OutOfMemoryError: Java heap space at io.netty.util.internal.PlatformDependent.allocateUninitializedArray(PlatformDependent.java:285) at io.netty.buffer.UnpooledUnsafeHeapByteBuf.allocateArray(UnpooledUnsafeHeapByteBuf.java:39) at io.netty.buffer.UnpooledByteBufAllocator$InstrumentedUnpooledUnsafeHeapByteBuf.allocateArray(UnpooledByteBufAllocator.java:144) at io.netty.buffer.UnpooledHeapByteBuf.capacity(UnpooledHeapByteBuf.java:133) at io.netty.buffer.AbstractByteBuf.ensureWritable0(AbstractByteBuf.java:307) at io.netty.buffer.AbstractByteBuf.writeBytes(AbstractByteBuf.java:1114) at org.apache.plc4x.java.transport.socketcan.netty.SocketCANChannel.lambda$doConnect$0(SocketCANChannel.java:119) at org.apache.plc4x.java.transport.socketcan.netty.SocketCANChannel$$Lambda$1043/0x0000000100d5a440.run(Unknown Source) at java.base/java.lang.Thread.run(Thread.java:834)