Professional OPC
Development Tools

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. You do not have to be a licensed user of our product.

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.

OPCDA Memory Leak

More
17 Oct 2023 16:12 - 17 Oct 2023 16:12 #12304 by support
Replied by support on topic OPCDA Memory Leak
Hello.
I agree that the green lines on the right side indicate a memory leak.

However the only chart you have provided me as potentially reproducible on my side does *not* show it. This is the middle chart in your original post. Can you make it grown in an unbounded way by increasing the number of signals, the rate, or both?

Regards
Last edit: 17 Oct 2023 16:12 by support.

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

More
17 Oct 2023 15:18 #12303 by spicerno
Replied by spicerno on topic OPCDA Memory Leak
Hello

This is a graph of the performance of the entire application (30 days).
It compares two instances:
the first instance connects to an OPCDA server
the second instance to an OPCUA server

After updating the library, you can see the change:


We have updated to 5.71.401 with no improvements.

We have updated on another OPCUA server and everything works correctly.
Attachments:

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

More
14 Oct 2023 10:19 - 14 Oct 2023 10:20 #12300 by support
Replied by support on topic OPCDA Memory Leak
Hello.

I do not dispute the fact that there might be a memory leak in QuickOPC, but what you are observing is inconclusive. .NET is free to manage the memory in any way its seems fit. Only continuing growth that eventually consumes all memory is a proof of a memory leak.

Let the application run for at least 72 hours, and show the graphs then.

Best regards
Last edit: 14 Oct 2023 10:20 by support.

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

More
13 Oct 2023 13:47 #12298 by spicerno
OPCDA Memory Leak was created by spicerno
Hi,
We have a .NET Framework application that was recently migrated to .NET6.
We ran into a memory leak problem using OPCDA.
The .NET6 application with version 5.63.246 had no memory problems, they started after the package was upgraded to 5.71.334.

The application can be configured to switch between OPCDA and OPCUA, and the code is the same for both cases, except for the use of a different client.

Using OPCUA there are no problems:


While on the same machine using OPCDA there is a slight increase (about 50 signals on matrikon simulation server):


on a machine that reaches a non-simulated server and reads many more signals, the increase is greater:


We have seen that a new version (5.71.401) has been released, we are trying it out, but we will probably get the same result.

We have created a reduced application of our own, which only includes the plugin using quickOPC.
If necessary, we can provide you it.

NB. in the Framework version we had these parameters, which should not be necessary in .net6:

right?

can you help us?

Thank you
Attachments:

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

Moderators: support
Time to create page: 0.063 seconds