chrisdutz commented on issue #1443:
URL: https://github.com/apache/plc4x/issues/1443#issuecomment-2265525364

   Ok .. mainly leaving this info here for myself if I don't finish it today:
   If I put a logging breakpoint in NioSocketChannel.doReadBytes to output the 
"writableBytes" I see this:
   
   ```
   Reading 2048 bytes
   Reading 2048 bytes
   Reading 1024 bytes
   Reading 1024 bytes
   Reading 512 bytes
   Reading 512 bytes
   Reading 496 bytes
   Reading 496 bytes
   Reading 480 bytes
   Reading 480 bytes
   Reading 464 bytes
   Reading 464 bytes
   Reading 448 bytes
   Reading 448 bytes
   Reading 432 bytes
   Reading 432 bytes
   Reading 416 bytes
   Reading 416 bytes
   Reading 400 bytes
   Reading 400 bytes
   Reading 384 bytes
   Reading 384 bytes
   Reading 368 bytes
   Reading 368 bytes
   Reading 352 bytes
   Reading 352 bytes
   Reading 336 bytes
   Reading 336 bytes
   Reading 320 bytes
   Reading 320 bytes
   Reading 304 bytes
   Reading 304 bytes
   Reading 288 bytes
   Reading 288 bytes
   Reading 272 bytes
   Reading 272 bytes
   Reading 256 bytes
   Reading 256 bytes
   Reading 256 bytes
   Reading 256 bytes
   Reading 240 bytes
   
   ```
   So for some reason the buffer is shrinking and starting with the 20th 
iteration of your program, the amount of available buffer space becomes less 
than the packet needs to be parsed and that's when things go south. I need to 
find out why the buffer is not freed.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscr...@plc4x.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to