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?

Comments

  • 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!

    thanks!
  • 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 [email protected] quoting F0068626 in the subject, thanks.
    Systems Software Engineer

    Redgate Software

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

    thanks:)
Sign In or Register to comment.