Steven Muhr
Steven Muhr

Reputation: 3379

No data written: Not enough storage - Git on TFS 2015

Some git commits have vanished from our TFS server.

A developer had the following message :

Failed to mmap. No data written: Not enough storage is available

As TFS GIT stores commmits to an SQL DB we've checked disk & db space. Everything is ok.

The repo history was not rewritten.

We are looking for an explication. Anyone has an idea about what could happend and how to avoid this to happen again?

Upvotes: 4

Views: 3016

Answers (1)

Edward Thomson
Edward Thomson

Reputation: 78743

Sorry about that. This is a bug in 32-bit versions of libgit2 on Windows, which is used by Visual Studio, and how it memory maps the pack files. Although these issues have largely been fixed in newer versions of libgit2, this sadly will not help you push this repository with your current version of Visual Studio.

You'll need to push this change with the command line.

Upvotes: 1

Related Questions