Possible Memory Leak #1713
Replies: 3 comments 1 reply
-
|
There's nothing to manage with the event loop. If you don't configure one yourself, Milo ends up using one from so you can limit it yourself with that system property, or configure your own on the Netty's is focused on high concurrency / scalability applications and its default is probably too aggressive for most OPC UA applications. |
Beta Was this translation helpful? Give feedback.
-
|
Yes this seems to be ok, the amount of threads is limited in my case to 40 milo netty event loops but they never get closed and the allocated memory of each thread rises constantly in a round robin manner when connecting disconnecting clients. |
Beta Was this translation helpful? Give feedback.
-
|
Hello FYI, Greetings Johann |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Hello,
in Certification Process occured the following issue "We use the output of the standard command 'top' to take a rough look at the resource requirements of the process. During the endurance test, the value of the resident memory used increased. This can (but does not have to) indicate a potential leak. During the endurance test, we had 5 OPC UA clients connected to the server, which monitored values via subscriptions. The network connection to the last client was turned off/on every 10 minutes during the entire test duration."
I started then to profile memory usage with VisualVM and what i see is that milo netty event loops are gaining more and more memory when connecting and reconnecting with a Client (prosys seems to be worst) multiple times . The milo netty event loops are never cleansed even when performing garbage collection. In contrast the milo shared thread pool releases memory after GC.
Is this normal behaviour or do i need to handle milo netty event loops in any manner?
Greetings Johann
Beta Was this translation helpful? Give feedback.
All reactions