This commit is contained in:
gueux 2018-12-11 18:10:39 +00:00 committed by admin
parent bbf7dcc193
commit b5de22b9f0

View file

@ -0,0 +1,39 @@
### Please describe the problem.
`git update-index --refresh bigfile` fails with `fatal: Out of memory, realloc failed`
### What steps will reproduce the problem?
Have sizeOf bigfile > sizeOf memory?
### What version of git-annex are you using? On what operating system?
git-annex version: 7.20181205
Debian sid
### Please provide any additional information below.
[[!format sh """
# If you can, paste a complete transcript of the problem occurring here.
# If the problem is with the git-annex assistant, paste in .git/annex/daemon.log
$ GIT_TRACE=1 git update-index --refresh SERIES/bigfile.avi
19:08:14.507885 git.c:418 trace: built-in: git update-index --refresh 'SERIES/bigfile.avi'
19:08:14.536105 run-command.c:643 trace: run_command: 'git-annex smudge --clean '\''CLIPS/otherfile.txt'\'''
19:08:14.560898 git.c:418 trace: built-in: git config --null --list
19:08:14.568523 git.c:418 trace: built-in: git cat-file --batch
19:08:14.575319 git.c:418 trace: built-in: git cat-file '--batch-check=%(objectname) %(objecttype) %(objectsize)'
19:08:14.585333 git.c:418 trace: built-in: git check-attr -z --stdin annex.backend annex.numcopies annex.largefiles --
19:08:14.588845 git.c:418 trace: built-in: git version
SERIES/bigfile.avi: needs update
fatal: Out of memory, realloc failed
# End of transcript or log.
"""]]
### Have you had any luck using git-annex before? (Sometimes we get tired of reading bug reports all day and a lil' positive end note does wonders)
Sure, I love it :)