Hi everyone
When I install many tables and user fields with SAP objects
For user fields
Private oCampoMD AsUserFieldsMD
- oCampoMD.Add
For user tables
Private oTablaMD AsUserTablesMD
- oTablaMD.Add
There comes a point that my application uses lots of RAM and I get the following error when I try to just add an object (objeto.add)
Attempted to read or write protected memory. This often indicates that other memory is corrupt.
What can i do, to liberate RAM memory once the field or table has been added?
When i add fields/tables, i kill the object
System.Runtime.InteropServices.Marshal.ReleaseComObject(objeto)
Apparently only happens in Windows 2012 Server