Version store out of memory

In our current project we use Sql Server Data Tools (sqlproj) to put our database in source control. Recently we experienced random exceptions during loading and building the solution with multiple sql projects.

EsentVersionStoreOutOfMemoryException

Last week our builds started to fail. The logging showed something like

MSB4018: The “SqlBuildTask” task failed unexpectedly.
Microsoft.Isam.Esent.Interop.EsentVersionStoreOutOfMemoryException: Version store out of memory (cleanup already attempted)

On Microsoft Connect we found a workaround. By adding commandline option /p:CmdLineInMemoryStorage=TRUE the build worked again. Seems there is someone working at Microsoft with a great name 😉 microsoft.connect.eric.msft

About erictummers

Working in a DevOps team is the best thing that happened to me. I like challenges and sharing the solutions with others. On my blog I’ll mostly post about my work, but expect an occasional home project, productivity tip and tooling review.
This entry was posted in Development and tagged , , , . Bookmark the permalink.

1 Response to Version store out of memory

  1. MEMark says:

    I can’t begin tell you how many times this blog post has saved me! Especially now that the Connect issue is gone. Thank you!

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

This site uses Akismet to reduce spam. Learn how your comment data is processed.