Error: Failed to initialize Common Language Runtime(CLR)

Forum for users of SQL Compare schema synchronization utility

Error: Failed to initialize Common Language Runtime(CLR)

Postby fran » Thu Dec 15, 2011 2:31 pm


When running comparison I'm getting the following:

Failed to initialize the Common Language Runtime (CLR) v2.0.50727 due to memory pressure. This is probably due to memory pressure in the MemToLeave region of memory. For more information, see the CLR integration documentation in SQL Server Books Online.

Is there a way of excluding assemblies from comparison or fixing this error?

Posts: 1
Joined: Thu Dec 15, 2011 12:59 pm

Postby peter.peart » Mon Dec 19, 2011 1:47 pm

Thanks for your post. SQL Compare can only filter out assemblies after the comparison has been run I'm afraid, as it doesn't support any sort of pre-comparison filtering due to it having to calculate dependencies across all objects.

You might wish to have a look at the below MS KB though to actually resolve the problem with your CLR's:


Peter Peart
Red Gate Software Ltd
+44 (0)870 160 0037 ext. 8569
1 866 RED GATE ext. 8569
Site Admin
Posts: 362
Joined: Tue Sep 02, 2008 8:58 am
Location: Top floor, RG towers with the cool kids

Return to SQL Compare Previous Versions

Who is online

Users browsing this forum: No registered users and 1 guest