I have one project in vs2012 which was migrated to vs2017. After migration to vs2017, we observed that it(Process) is consuming memory through oleaut32.dll.
I am using SAFEARRAY * psaItemIds = ::SafeArrayCreate( VT_BSTR, 1, bound ); in my project.
Dubugdiag log indicates to oleaut32.dll which ultimately indicates to SafeArrayCreate
SafeArrayCreate is used in both vs2012 and vs2017 project. After migration why vs2017 project is using more memory through oleaut32.dll .
Can anybody please suggest any idea to reduce memory consumption