Professional Communication
Software Development Tools

OPC Foundation member and certified logos

Online Forums

Technical support is provided through Support Forums below. Anybody can view them; you need to Register/Login to our site (see links in upper right corner) in order to Post questions or issues. You do not have to own a commercial license in order to use the OPC Labs support. Our team is actively monitoring the forums, and provides replies as soon as possible.

Please read Rules for forum posts before reporting your issue or asking a question. OPC Labs team is actively monitoring the forums, and replies as soon as possible.

Various technical information can also be found in our Knowledge Base. For your convenience, we have also assembled a Frequently Asked Questions page.

Do not use the Contact page for technical issues.

QuickOPC possible memory growth/workaround?

More
11 Oct 2026 09:55 #14728 by support
Hi K.

I have investigated the two issues. Big parts of the report (and the code, probably) appear to be written in AI, and frankly, it is difficult to understand (this seems to be common problem with bug reports these days, as I know from other developers). But I think I got the gist of it.

Both issues they reported are genuine, and should be fixed now.

Thanks to you & the customer for reporting them!

Please rebuild and retest with OPC Data Client/QuickOPC 5.84.416 (or later). The NuGet packages are on nuget.org. For the full installer, I will send you the link by email.

Best regards
 

Please Log in or Create an account to join the conversation.

More
28 Sep 2026 18:58 #14703 by KPersyn33
Hey Z,

Sounds like a plan, thank you for the quick reply!  I hope you have a great week at the interop!

Best Regards,

Please Log in or Create an account to join the conversation.

More
28 Sep 2026 18:49 #14702 by support
Hello K.,
good to hear from you after some time.

Thanks for the report, From reading the text (I have not opened the attachment yet), unless there is some error in the repro code, those look like genuine issues that need to be fixed on QuickOPC side. 

I will investigate. However, I am on the OPC Interoperability Workshop this week, busy with other tests, and I will be in OPC UA workgroup meeting next week. I apologize, but I will not be able to look into it during these 2 weeks, most likely. But I will definitely address it then. 

Thank you for understanding.
 

Please Log in or Create an account to join the conversation.

More
28 Sep 2026 15:23 #14701 by KPersyn33
Hello Z,We are working with a client who may have identified some possible growths.  I’m sending a small standalone .NET Framework console project and its README for your review. It reproduces two memory retention issues we’re seeing with QuickOPC. The project does not require access to our application, an OPC UA server, or any configuration. On QuickOPC 5.84.374, running the executable without an endpoint takes about 4½ minutes and reports the result of each check.The first issue concerns OPC UA read results. Our long-running service grew to about 10 GB of memory after 57 days. We found that
Code:
ValueResult
objects returned by
Code:
UAAttributeDataResult.ToGoodValueResult
appear to remain attached to a cached result’s diagnostics collection after the caller discards them. The reproduction creates 100,000 discarded results and shows that they remain alive while the cache entry exists; removing that entry releases them.The second issue concerns client disposal. In the reproduction, 100
Code:
EasyUAClient
instances are created, used, and disposed one at a time. All 100 remain alive after a full garbage collection, even when connection attempts fail because no server is present. In our service, the number of retained client chains has also increased with each client created and disposed.The README includes build and run instructions, expected output, production observations, and the object paths we found while investigating. Our explanation of the internal causes is a hypothesis based partly on decompiled assemblies, so we would appreciate your assessment of it.Could you confirm whether these are QuickOPC defects? For each issue, is there a fix or a supported way to prevent or bound the memory growth?
Attachments:

Please Log in or Create an account to join the conversation.

Moderators: support, vaclav.zaloudek
Time to create page: 0.163 seconds