[Bug 1868716] Re: git: fatal: mmap failed: Cannot allocate memory
Dimitri John Ledkov
launchpad at surgut.co.uk
Thu Mar 26 15:15:23 UTC 2020
can you please first do:
$ git remote update
(that will try to download all the things without reconciling your tree)
$ git repack
$ git clean -f -x -d
$ git clean -f -X -d
Then
$ git pull
It is known that on very large trees, with many dirty changes things
don't work in a single go.
** Changed in: git (Ubuntu)
Status: New => Incomplete
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to git in Ubuntu.
https://bugs.launchpad.net/bugs/1868716
Title:
git: fatal: mmap failed: Cannot allocate memory
Status in git package in Ubuntu:
Incomplete
Bug description:
seen with current focal, working on the GCC upstream git:
$ contrib/gcc_update # a git pull and postprocessing
Updating GIT tree
fatal: mmap failed: Cannot allocate memory
Attempting to update a dirty git tree!
Commit or stash your changes first and retry.
$ git status
Refresh index: 100% (99545/99545), done.
On branch master
Your branch is up to date with 'origin/master'.
nothing to commit, working tree clean
after that, the update works.
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/git/+bug/1868716/+subscriptions
More information about the foundations-bugs
mailing list