OPC Server memory leak???

More
1 year 2 months ago #1539 by richardwht
richardwht created the topic: OPC Server memory leak???
Hello - Thank you so much for making this software - we are still learning how to use it and I'm sure it will be a valuable tool for us.

We have been able to get the Arduino OPC 2.0 server to connect over the Ethernet to our controller using a DUE and W5500 with the Ethernet2 library. Great!

The issue we're seeing is this... When we start the server, the memory usage is low... Around 6MB. As data is passed to our SCADA, memory usage rises and rises. After a 2 day weekend this rises to almost 2GB. We were able to reproduce this memory rise situation on a totally different server pointing to the same DUE controller

Has anyone else seen this? Any suggestions on what to do? If I manually reset the server (or automate via task scheduler) the problem can be managed but I was wondering if there was anything else I could do? Please see attached screenshots... Thanks!
Attachments:

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

More
1 year 2 months ago #1544 by i.martinez
i.martinez replied the topic: OPC Server memory leak???
Hello

have you used previous version of OPC Server to know if the issue happends?

All the best
ilde

This is a free product. At the moment, I am not receiving any income or backup for this work. I have invested many hours investigating and programming. If you want to support this work, please, do it at:

PAYPAL: paypal.me/supportmywork

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

More
1 year 2 months ago #1551 by richardwht
richardwht replied the topic: OPC Server memory leak???
Thank you for responding!

We are using the OPC Server to talk to Ignition software. Earlier versions of the software (before 1.9) would connect very well and very stable to Ignition but only through serial connection. When we tried converting to Ethernet, we could either not connect at all or it would be SUPER slow.

To answer your question, I have not tried using the earlier versions to see if this problem was there. Maybe I can do a test and let you know.

What I do know is that this software is working GREAT as long as I reset the server frequently. I programmed a routine in windows to automatically kill the OPC Arduino server every hour. Ignition recognizes that it is missing and automatically restarts. This only takes about 15 seconds and there is no data loss since the DUE is holding all current values.

Thank you for your help and for this great software. I'll let you know if I have any other questions or issues, but for now it is running very acceptably!

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