OutOfMemoryException error
nsams
Posts: 12
My project worked fine using SDK 8. I needed to be SQL 2012 compatible so I upgraded to SDK 10. Now I'm getting an error on a line that worked before I switched the dlls. Oh, and I also made the snapshot with the new version of SQL Compare 10, so I know that's not the problem.
It is giving me the following error:
A first chance exception of type 'System.OutOfMemoryException' occurred in RedGate.SQLCompare.Engine.dll
It used to not blow up until (only on SQL 2012, it worked fine with 2005-2008r2):
Any ideas?
m_oMasterDB.LoadFromDisk(g_sAppPath & "\" & sSnapshotFile)
It is giving me the following error:
A first chance exception of type 'System.OutOfMemoryException' occurred in RedGate.SQLCompare.Engine.dll
It used to not blow up until (only on SQL 2012, it worked fine with 2005-2008r2):
m_oDB.Register(oConnProps, m_Options)
Any ideas?
Comments
thanks!
Unfortunately I'm not sure why you'd see this message. Out of Memory errors are more normally associated with the Data Compare engine- but if you're using Snapshots then data shouldn't be relevant.
Is it possible for you to supply your code and snapshot to us for testing here? If so, please mail it to support@red-gate.com quoting F0068626 in the subject, thanks.
Redgate Software
thanks:)