-
Notifications
You must be signed in to change notification settings - Fork 16
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Memory leak in VM #1225
Comments
When the growth is bigger on the VM, this is propably related to the number of client requests/ subscriptions. Might be also caused by the copy mechanism of values which is called more often, when more data is subscribed. Cause may be found out using valgrind (unix) or DrMemory (windows) using the debug build (full stack visible). |
Here's a Valgrind log after a few minutes of running the server with UaExpert connected: valgrind-2024-02-13.log. |
This looks like a repeating issue and is definitely a leak. |
After VM went offline and required a reset I found that the Sample Server memory use grows over time. Here's overall VM memory consumption:
And this is memory (in MiB) used by Sample Server container after fresh restart:
The container also uses 25-30% of the VM CPU.
Could not reproduce locally, memory use for the Linux binary increased by <2% in an hour, local container looks similar. Can this be related to the number of client requests?
Image used: latest
develop
, sha256:fe03be93684d641e2abe22342f7b25c7ca03fd8b2ead490ca3f1935f6b063ef7Compose config:
@ccvca, @Kantiran91 any ideas?
The text was updated successfully, but these errors were encountered: