DB Schema Compare Error: 'Version store out of memory'

前端 未结 2 634
礼貌的吻别
礼貌的吻别 2021-01-11 19:16

Below is an error that I have been receiving while doing a schema compare in Visual Studio 2013 Professional w/ Update 3. I am using version 2008 R2 DB server and I am utili

相关标签:
2条回答
  • 2021-01-11 19:46

    I've searched for solutions myself and never found anything helpful online. After doing some experimenting I found one setting change that allows me to compare and compile my very stubborn projects. I went into the properties of the SqlProj project, down to the "SQLCLR Build" tab and clicked on the "Advanced..." button. In the Output section I changed the "Debug Info" dropdown to be "pdb-only". That improved it for me quite a bit, but I still get the occasional crash.

    0 讨论(0)
  • 2021-01-11 20:09

    I have regularly seen this problem in our database builds within TeamCity. Following advice from this article https://connect.microsoft.com/SQLServer/feedback/details/749108/msbuild-fails-randomly-with-version-store-out-of-memory-cleanup-already-attempted-errors-msb4018 I have since configured the MSBuild command with the additional parameter /p:CmdLineInMemoryStorage=true. The build process does appear to be more reliable now.

    0 讨论(0)
提交回复
热议问题