Red Gate forums :: View topic - OutOfMemoryException error
Return to www.red-gate.com RSS Feed Available

Search  | Usergroups |  Profile |  Messages |  Log in  Register 
Go to product documentation
SQL Comparison SDK 10
SQL Comparison SDK 10 forum

OutOfMemoryException error

Search in SQL Comparison SDK 10 forum
Post new topic   Reply to topic
Jump to:  
Author Message
nsams



Joined: 01 Dec 2005
Posts: 7
Location: Tempe, AZ

PostPosted: Thu Jan 17, 2013 11:40 pm    Post subject: OutOfMemoryException error Reply with quote

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:

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:

m_oDB.Register(oConnProps, m_Options)


Any ideas?
Back to top
View user's profile Send private message
nsams



Joined: 01 Dec 2005
Posts: 7
Location: Tempe, AZ

PostPosted: Fri Jan 18, 2013 10:07 pm    Post subject: I'm new to this... Reply with quote

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!
Back to top
View user's profile Send private message
james.billings



Joined: 16 Jun 2010
Posts: 1121
Location: My desk.

PostPosted: Mon Jan 21, 2013 5:14 pm    Post subject: Reply with quote

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.
Back to top
View user's profile Send private message
nsams



Joined: 01 Dec 2005
Posts: 7
Location: Tempe, AZ

PostPosted: Mon Jan 21, 2013 5:42 pm    Post subject: Thanks! Reply with quote

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

thanks:)
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic All times are GMT + 1 Hour
Page 1 of 1

 
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group