Details
-
Suggestion
-
Resolution: Unresolved
-
None
-
None
-
0
-
Description
Problem Statement
When file in repository is larger than system RAM Git LFS bug causes system OOM errors.
Summary
Research Done
lfs Pull consuming all memory until memory realloc failed message · Issue #2840 · git-lfs/git-lfs · GitHub
Memory allocation problems when cloning repository with LFS objects largen than available RAM #3524
Workaround
- Create script task
- In script, implement the work around mentioned in Memory allocation problems when cloning repository with LFS objects largen than available RAM #3524.
Suggested fix
Implement large file option flag in Git checkout tasks to have Git checkout task use the work around in Memory allocation problems when cloning repository with LFS objects largen than available RAM #3524 in a way that is transparent to the users.