error: pack-objects died of signal 9 fatal: the remote end hung up unexpectedly
Git ran out of memory while packing objects.
pack-objects died of signal 9fatal: pack-objects died due to out of memoryOut of memory, malloc failederror: pack-objects died of signal 9 fatal: the remote end hung up unexpectedly Meaning
Limit memory: git config pack.windowMemory 100m, pack.packSizeLimit, pack.threads 1 or add swap. Large binaries and big histories trigger it on small servers.
Common causes
- Large repository
- Small RAM/container limits
- Too many threads
⚡ Quick fix
- Set
pack.windowMemoryandpack.threads=1 - Increase memory/swap
- Run
git gcon a bigger machine
Detailed fix by platform
Git
- bash
git config pack.windowMemory 100m git config pack.threads 1 git gc
How to diagnose
- RAM — limit?
- Repo — big?
- Threads — many?
🔧 Still not fixed?
Many errors look alike. If the steps above didn’t solve it, one of these is probably what you’re facing:
Similar errors
- 0xC0000005 The application was unable to start correctly (0xc0000005) / Exception code 0xc0000005 access violation
- APNs: BadDeviceToken (400) {"reason":"BadDeviceToken"} HTTP/2 400 from api.push.apple.com
- Auto packing the repository in background for optimum performance Auto packing the repository in background for optimum performance. See "git help gc" for manual housekeeping.
Most viewed in Git
- Git SSL certificate problem fatal: unable to access 'https://…': SSL certificate problem: unable to get local issuer certificate
- workflow scope ! [remote rejected] … (refusing to allow a Personal Access Token to create or update workflow `.github/workflows/x.yml` without `workflow` scope)
- kex_exchange_identification kex_exchange_identification: Connection closed by remote host
Other ways to find it
Where this error sits
Origin: Build & delivery. Errors that are often confused with or caused by this one (click to open):
🧠 Still stuck? Analyze your error
Paste the full message, response headers or stack trace — we'll detect the platform and point to the most likely cause.
💬 What worked for others
No tips yet — did something else fix this for you?
Share what worked for you
Tips are checked by an editor before they appear. Links are removed.
Report a correction or suggest an improvement
Last updated 25 Nov 2026