OPC UA memory issue

Questions regarding the use of the C++ SDK for Server or Client development or integration into customer products ...

Moderator: uasdkcpp

Post Reply
zheng chen
Jr. Member
Jr. Member
Posts: 4
Joined: 26 Jul 2018, 08:32

OPC UA memory issue

Post by zheng chen »

Dear team,

I am developing the opc ua server with the 1.6.3 stack. And I found that the OPC UA server didn't release the occupied memory when the server is closed. Also, this problem only occurs on the Linux RT OS.
And in fact, I only created some folder, items in the server. Why this phenomenon occurs? How can I resolve this problem?


User avatar
Support Team
Hero Member
Hero Member
Posts: 2532
Joined: 18 Mar 2011, 15:09

Re: OPC UA memory issue

Post by Support Team »

Hello zheng,

we do tons of tests monitoring the memory and resource consumption for every release. I assume the issue is related to the way you use the SDK or to the custom code. Can you figure out what exactly leaks? Do you have any tools helping you for that like Clang MemorySanitizer?
Can you provide any example (based on SDK example ServerHelloWorld) that shows this issue?
Best regards
Unified Automation Support Team

Post Reply