System.OutOfMemoryException when trying to build sql project.
WoehrMi
Posts: 5 Bronze 1
After updating from Visual Studio 2019 Version 16.2.5 to 16.3.0 I am no longer able to build my main sql project using the "Visual Studio SQL Change Automation Extension". In the Visual Studio Error list I get the following error message: "Severity Code Description Project File Line Suppression State
Error An error occurred while attempting to generate a package deployment script: Exception of type 'System.OutOfMemoryException' was thrown. .. ". I also tested this for smaller projects (~10 Migration scipt files) => Building worked in this case but the output "*_Package.sql" file has a file size of ~30MB. The original size of the "*_Package.sql" file was ~500KB. Current SQL Change Automation version: 4.0.19261.10679
Tagged:
Comments
Both Visual Studio instances show that I am using Redgate SQL Change Automation (4.0.19261.10679).
We will look further into the issue you are facing with very large package files. If you are able to open a support ticket here we can look into your specific case. Thanks.
We will look further into the issue you are facing with very large package files. If you are able to open a support ticket here we can look into your specific case. Thanks.
We will look further into the issue you are facing with very large package files. If you are able to open a support ticket here we can look into your specific case. Thanks.
I have noticed that in my Build it is doing the following:
How can I resolve this?