Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

SAP .NET Connector 3.0 Memory Leak?

We have an integration adapter that uses .net connector to talk to SAP. Our adapter runs continuously (as a windows service) periodically connecting/disconnection to SAP. There is an apparent memory leak in .NET connector  - it seems that it never fully releases connection resources and ~100K is kept after every cycle...,

We implement our own IDestinationConfiguration, send RfcConfigurationEventArgs(DELETE) evens to disconnect and even call RfcDestinationManager.RegisterDestinationConfiguration/UnregisterDestinationConfiguration for every cycle and force the GC at the end, but still memory builds up...

We tried using different versions of the connector : patch 7, Patch 9 and the latest Patch 11 - all the same.

Has anybody experience the same thing?

As much as I dislike when the control of the connection management is taken away - I dislike even more when such important integration layer (nCo) is release without all scenario tested... so the question to SAP : did you guys ever tested the connector for continuous operation ?



Former Member
Not what you were looking for? View more on this topic or Ask a question