sql-server - 数据库架构比较错误 : 'Version store out of memory'

标签 sql-server database visual-studio schema ssms

以下是我在带有 Update 3 的 Visual Studio 2013 Professional 中进行模式比较时收到的错误。我使用的是版本 2008 R2 数据库服务器,我使用的是 SSMS 2014。

这个错误持续了几个星期,并且越来越频繁地弹出。所以我重新格式化了我的机器……你猜怎么着……一旦一切都重新设置好,我又收到了错误!

请帮助我了解如何解决此问题。谢谢!


Microsoft.Isam.Esent.Interop.EsentVersionStoreOutOfMemoryException
Version store out of memory (cleanup already attempted)

   at Microsoft.Isam.Esent.Interop.Api.Check(Int32 err)
   at Microsoft.Isam.Esent.Interop.Api.JetDelete(JET_SESID sesid, JET_TABLEID tableid)
   at Microsoft.Data.Tools.Schema.SchemaModel.ModelStore.EseResultSet.Delete()
   at Microsoft.Data.Tools.Schema.SchemaModel.ModelStore.EseCommand.<>c__DisplayClass1b2.<DeleteRows>b__1b1(EseResultSet rs)
   at Microsoft.Data.Tools.Schema.SchemaModel.ModelStore.EseCommand.RunQueryImpl(Func1 stopProcessing, Action1 action, Object[] keys)
   at Microsoft.Data.Tools.Schema.SchemaModel.ModelStore.EseCommand.DeleteRows(Object[] keys)
   at Microsoft.Data.Tools.Schema.SchemaModel.ModelStore.CoreDelete(ModelElement element, IList1 elementsToSignal)
   at Microsoft.Data.Tools.Schema.SchemaModel.ModelStore.DeleteElement(ModelElement element, Boolean includeHierarchical)
   at Microsoft.Data.Tools.Schema.SchemaModel.ModelElement.Delete(Boolean deleteHierarchicalChildren)
   at Microsoft.Data.Tools.Schema.SchemaModel.DataSchemaModel.UnloadExternals(String fileName)
   at Microsoft.Data.Tools.Schema.SchemaModel.DataSchemaModel.OnCustomDataRemoved(CustomSchemaData customData)
   at Microsoft.Data.Tools.Schema.Sql.SchemaModel.SqlSchemaModel.OnCustomDataRemoved(CustomSchemaData customData)
   at Microsoft.Data.Tools.Schema.SchemaModel.DataSchemaModel.RemoveCustomData(CustomSchemaData customData)
   at Microsoft.Data.Tools.Schema.Sql.SchemaModel.SqlModelBuilder.Clear(CustomSchemaData dataToDelete)
   at Microsoft.Data.Tools.Schema.SchemaModel.ModelBuilder.AddOrUpdate(CustomSchemaData customSchemaData)
   at Microsoft.Data.Tools.Schema.Utilities.Sql.Jobs.ModelBuilderJob.RunImpl()
------ Exception Data --------
Key : error
Value : VersionStoreOutOfMemory

最佳答案

我自己搜索了解决方案,但从未在网上找到任何有用的信息。在做了一些实验之后,我发现了一个设置更改,可以让我比较和编译我非常顽固的项目。我进入 SqlProj 项目的属性,一直到“SQLCLR Build”选项卡,然后单击“Advanced...”按钮。在输出部分,我将“调试信息”下拉列表更改为“仅 pdb”。这对我来说改善了很多,但我仍然偶尔会崩溃。

关于sql-server - 数据库架构比较错误 : 'Version store out of memory' ,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/26511426/

相关文章:

c++ - 如何在循环中迭代两个 vector

mysql - 在 SAS 中比较单元格条目和返回值

sql - 数据类型 text 不能用作 UNION、INTERSECT 或 EXCEPT 运算符的操作数,因为它不具有可比性

mysql - 当我导出MySQL数据库时,导出后会删除数据库上的所有内容吗?

visual-studio - Visual Studio 2008 异常窗口被弹出窗口取代

c++ - 你如何在 visual studio 2013 中更改你的应用程序图标?

mysql - sqlite、SQL AND MYSQL的区别及学习技巧

sql - 如何返回数据库中所有表的变量​​的不同计数?

php - 如何更改 Kohana 3 中使用的默认数据库?

.net - 如何使用 ADO.NET 数据集和 DataAdapter 将树结构保存到具有自动递增 ID 的数据库表中