Skip to Content
Former Member
Mar 06, 2013 at 08:51 AM

liberate active X memory


Hi everybody,

We have developed an activeX using and use it inside an SBO Form. We have use as well net remoting in order to get fluently comunication between Business One Events and our .NET user control object. The only problem is that we have a big memory leak. When we close the sbo screen, we dont know how to say Business One to liberate resources (all assemblies loaded from the .net control keep in SAP Business One Memory, and the .net dll that wrap the user control keeps locked by sap business one until we close it!)

We have tried to dispose the .net control, release com object for standar sbo from, GC.Collect garbage forced and nothing to do. Every time we call the object, memory increases.

Any clue???