Question

I am using Visual Studio Online and Git using Visual Studio 2013 as a client.

I am trying to add files to my repo and when I commit them, I get the following error in the Team Explorer Window:

An error occurred. Detailed message: An error was raised by libgit2. 
Category = NoMemory (Error). Out of memory

Has anyone seen this before?

Was it helpful?

Solution

Looking over here => https://github.com/git-tfs/git-tfs/issues/224

This might be due to large binary files. Update the .gitignore to ignore very large files. Assuming these are exe files add *.exe to .gitignore

If happens during cloning - git tfs clone --ignore-regex=exe http://team-foo $/foo local-foo

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top