2014-10-22 1 views
8

다음은 Visual Studio 2013 Professional with Update 3에서 스키마 비교를 수행하는 동안받은 오류입니다. 2008 R2 DB 서버 버전을 사용하고 있습니다. SSMS 2014 활용.DB 스키마 비교 오류 : '버전 메모리 부족'

이 오류는 몇 주 동안 지속되어 점점 더 자주 발생합니다. 이렇게 나는 나의 기계를 다시 형성했다 ... 짐작하게한다. 일단 모두가 다시 설치되면, 나는 과실을 다시 받았다!

이 문제를 해결하기 위해 수행 할 수있는 조치를 알려주십시오. 고맙습니다!


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 
+0

아마도 새로운 솔루션일까요? @Stephen –

+0

불행히도. 고맙게도 VS2015로 업그레이드 한 후에 실제로이 문제가 너무 많이 발생하지 않았습니다. – StephenKelzer

+0

microsoft에서 열린 항목처럼 보입니다. https://connect.microsoft.com/SQLServer/feedback/details/749108/msbuild-fails-randomly-with-version-store-out-of-memory-cleanup-already-attempted-errors-msb4018 –

답변

3

나는 해결책을 자신을 검색하고 유용한 온라인 아무것도 못 찾았습니다. 몇 가지 실험을 한 후, 매우 완고한 프로젝트를 비교하고 컴파일 할 수있는 설정 변경을 발견했습니다. SqlProj 프로젝트의 속성에 들어가서 "SQLCLR Build"탭을 선택하고 "Advanced ..."버튼을 클릭했습니다. 출력 섹션에서 "디버그 정보"드롭 다운을 "pdb 전용"으로 변경했습니다. 그것은 저를 위해 그것을 상당히 개량 했, 그러나 나는 가끔 충돌을 얻는다.

+0

팁, 아 그 총을 줘! – StephenKelzer