libgit2sharp
libgit2sharp copied to clipboard
"Out of memory" LibGit2SharpException thrown when attempting to clone using Repository.Clone(...)
Reproduction steps
- Create a repo.
- Add some large files (>700 MB).
- Move the large files and author a commit.
- Attempt to clone the repo using Repository.Clone(...)
- Observe that a LibGit2SharpException is thrown with a message that states "Out of memory".
Expected behavior
- Create a repo.
- Add some large files (>700 MB).
- Move the large files and author a commit.
- Attempt to clone the repo using Repository.Clone(...)
- Clone succeeds without throwing an exception.
Actual behavior
- Create a repo.
- Add some large files (>700 MB).
- Move the large files and author a commit.
- Attempt to clone the repo using Repository.Clone(...)
- Observe that a LibGit2SharpException is thrown with a message that states "Out of memory".
Version of LibGit2Sharp (release number or SHA1)
0.27.0-preview-0175
Operating system(s) tested; .NET runtime tested
.NET Framework 4.6.1