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

   Ok ... running it for longer shows the problem:
   
   
![Image](https://github.com/user-attachments/assets/9a3f2893-8801-484f-ac55-1163e2c8eda4)
   
   However from how I look at the code I think calling read repeatedly seems 
not quite the design-pattern the initial creator had in mind. It looks as if it 
was intended to re-use the entity and refresh it. 
   
   Right now for every call, ByteBuddy creates a new class instance, which is 
filling up the memory. I assume there's not much that I can do to fix that. 
However I most probably will be able to figure out how the initial author was 
planning to use the OPM (And update the documentation). I do see code that is 
meant for updating the entity properties ... just not sure how to use it ;-)
   
   In that case you would only create one instance of the Entity and that would 
prevent the class memory from filling up.


-- 
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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to