What are the challenges you face when working across database platforms? Take the survey

OutOfMemoryException error

nsamsnsams 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.
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?


  • Options
    I'm pretty new to all this, so please tell me what I could provide in order to help you understand my problem so that you can better help me!

  • Options
    Thanks for your post.

    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.
    Systems Software Engineer

    Redgate Software

  • Options
    I will get you our souce code and databases as soon as I can!

Sign In or Register to comment.