Hi,
I got a memory leak issue and the problem I think could be caused by the OpcLabs library, because a huge part of the memory used by the application is allocated by the unmanaged resources. The exception (listed below) throws ≈ 1 time per minute.
OpcLabs.EasyOpc.Engine.NetApiException: An exception occurred during processing in a NET API OPC Data Access client. The inner exception contains details about the problem. ---> System.Net.WebException: The underlying connection was closed: A connection that was expected to be kept alive was closed by the server.
at System.Web.Services.Protocols.WebClientProtocol.GetWebResponse(WebRequest request)
at System.Web.Services.Protocols.HttpWebClientProtocol.GetWebResponse(WebRequest request)
at System.Web.Services.Protocols.SoapHttpClientProtocol.Invoke(String methodName, Object[] parameters)
at OpcXml.Da10.Service.GetStatus(String LocaleID, String ClientRequestHandle, ServerStatus& Status)
at OpcXml.Da.Server.GetStatus()
at Opc.Da.Server.GetStatus()
at OpcLabs.EasyOpc.Implementation.NetApi.DataAccess.NetApiOpcDaServer.GetStatus(Boolean doOnlyIfGoodStatus, Exception& exception)
--- End of inner exception stack trace ---
I am using OpcLabs.QuickOpc 5.55.433.1 in my .NET Framework 4.7.2 application, which is running on Microsoft Windows Server 2008 R2 Enterprise.
Any ideas regarding this?
Best regards,
Kris