Repo synchronization fails: index packet died from 9 "signal

I try to sync with Android source repositories and get an error:

error: index packet died from signal 9
error: package index died
remote: Sending approximately 2.01 GiB ...
remote: counting objects: 1, done
remote: Search for sources: 100% (20881/20881)
Receiving objects: 100% (20881/20881), 2.00 gigabytes | 6.11 MiB / s, done.

remote: shared 20881 (delta 14047), reusable 20831 (delta 14047)

error: index packet died from signal 9)

How can i solve this?

+4
source share
1 answer

9 is defined as SIGKILL (see the signal(7) manual page), so I suspect that you are doing this on a 32-bit Linux system and maybe the OOM-killer is running in - you can check this on dmesg output or reading /var/log/system or /var/log/messages .

To deal with this, try playing with the core.packedGitWindowSize and core.packedGitLimit configuration variables .

+4
source

Source: https://habr.com/ru/post/1488640/


All Articles