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.
Memory consumption
It is weird that an antivirus could be responsible for something like that, but one never knows...
Regards
Please Log in or Create an account to join the conversation.
- chrisachern
- Topic Author
- Offline
- Premium Member
- Posts: 11
- Thank you received: 0
i think i found the error. It was not an opc fault. There was a trend Micro Client antivirus installed. One of the trend Micro Services seemed to block the garbage Collection. The Service also needed 2 gb of ram. so i restarted the Service and after that my opc Service is performing normal.
Sorry for the Trouble.
Best Regard,
Chris
Please Log in or Create an account to join the conversation.
- chrisachern
- Topic Author
- Offline
- Premium Member
- Posts: 11
- Thank you received: 0
I added a pic with some opc Server Details.
Please Log in or Create an account to join the conversation.
One more question: What data type are your items? Are they integers, floats, or also strings and other more complex types?
Best regards
Please Log in or Create an account to join the conversation.
- chrisachern
- Topic Author
- Offline
- Premium Member
- Posts: 11
- Thank you received: 0
OpcLabs.BaseLib.dll
App_Web_OpcLabs.EasyOpcClassicRaw.x86.dll
App_Web_OpcLabs.EasyOpcClassicRaw.amd64.dll
OpcLabs.EasyOpcClassic.dll
OpcLabs.EasyOpcClassicInternal.dll
Best Regards,
Chris
Please Log in or Create an account to join the conversation.
Which version and build of QuickOPC are you using? Hint: In File Explorer, right-click on one of the "OpcLabs.*" assemblies, select Properties, and take the info from the Details tab.
Thank you
Please Log in or Create an account to join the conversation.
- chrisachern
- Topic Author
- Offline
- Premium Member
- Posts: 11
- Thank you received: 0
i started perfmon with these 3 Counters.
Gen 0 Collections: Average increases approximately 0.03 per second -> last increases approximately 1 per 30 seconds
Gen 1 Collections: increases 1 every 3-4 minutes
Gen 2 Collections: no changes
Please Log in or Create an account to join the conversation.
There is a possibility, however, that there is nothing wrong with the increasing memory consumption either. Running this service requires continuous creation of objects, and .NET only disposes of the memory when it runs the garbage collector. It would be OK for the memory to grow if the garbage collector has not run. I agree it would be somewhat strange that it did not run for 2 days or so, but it is something that needs to be clear first.
Please run PERFMON together with your process, and add following Counters for the instance of your process:
.NET CLR Memory -> # Gen 0 Collections
.NET CLR Memory -> # Gen 1 Collections
.NET CLR Memory -> # Gen 2 Collections
Let it run, and observe whether the counters increase and how often.
Please Log in or Create an account to join the conversation.
- chrisachern
- Topic Author
- Offline
- Premium Member
- Posts: 11
- Thank you received: 0
i have a very simple Service, which writes values of opc items to a database. My Problem is, that the Memory consumption is slowly increasing. When i start the Service, it uses about 20mb, after 2 days it's already at 180mb Memory consumption. I attached the Project. Perhaps someone can take a look at the Project.
Best Regards,
Chris
Please Log in or Create an account to join the conversation.