OutOfMemoryException error

Automate and integrate using the SQL comparison API

Moderators: Chris Auckland, David Atkinson, Michelle Taylor, chengvoon.tong

OutOfMemoryException error

Postby nsams » Thu Jan 17, 2013 11:40 pm

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.

Code: Select all
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):

Code: Select all
m_oDB.Register(oConnProps, m_Options)


Any ideas?
nsams
 
Posts: 7
Joined: Thu Dec 01, 2005 7:41 pm
Location: Tempe, AZ

I'm new to this...

Postby nsams » Fri Jan 18, 2013 10:07 pm

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!
nsams
 
Posts: 7
Joined: Thu Dec 01, 2005 7:41 pm
Location: Tempe, AZ

Postby james.billings » Mon Jan 21, 2013 5:14 pm

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.
james.billings
 
Posts: 1146
Joined: Wed Jun 16, 2010 11:10 am
Location: My desk.

Thanks!

Postby nsams » Mon Jan 21, 2013 5:42 pm

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

thanks:)
nsams
 
Posts: 7
Joined: Thu Dec 01, 2005 7:41 pm
Location: Tempe, AZ


Return to SQL Comparison SDK 10

Who is online

Users browsing this forum: No registered users and 0 guests