libgit2 / libgit2/libgit2sharp
"Out of memory" LibGit2SharpException thrown when attempting to clone using Repository.Clone(...)
Offen
Dieses Issue hat noch niemand übernommen.
- Vorherrschende Sprache
- C#
- Sterne
- 3.5k
- Forks
- 925
- PR-Merge-Kennzahlen
- Keine gemergten PRs in 30 T.
Beschreibung
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
Beitragsleitfaden
Erste Schritte
- Lies das ganze Issue und danach den Beitragsleitfaden des Projekts.
- Schreib ins Issue, dass du es übernimmst — das erspart doppelte Arbeit.
- Forke das Repository und arbeite in einem Branch.
- Öffne einen Pull Request, der die Issue-Nummer nennt.
Rechercherichtung
Reproduziere das Problem mit einem Repository, das verschobene Dateien mit einer Größe von mehr als 700 MB enthält, unter Verwendung von Repository.Clone(...) auf .NET Framework 4.6.1. Untersuche zunächst die LibGit2SharpException, die während des Klonens "Out of memory" meldet. Erledigt ist die Aufgabe, wenn dasselbe Repository erfolgreich geklont wird, ohne diese Ausnahme auszulösen.
Vom Indexierungsmodell aus dem Issue-Text verfasst.
Bewertung
- Tech-Stack
- csharp, git
- Bereich
- devtools
- Issue-Typ
- Bug
- Schwierigkeit
- 4/5
- Geschätzter Aufwand
- 3-5 Tage
- Aktivitätsstatus
- Veraltet
- Klarheit
- Größtenteils klar
- Anfängerfreundlichkeit
- 35/100