build icon indicating copy to clipboard operation
build copied to clipboard

Git memory issue with armv7 fanned containers

Open targos opened this issue 1 year ago • 3 comments
trafficstars

See https://ci.nodejs.org/job/node-test-binary-armv7l/RUN_SUBSET=native,nodes=ubuntu2004-armv7l/9651/console

08:51:12 + ssh-agent sh -c 'ssh-add **** && git fetch --no-tags [email protected]:binary_tmp.git +refs/heads/jenkins-node-test-commit-arm-fanned-c7f8b1629123065c20362ca5c2be0552405fbc4a-binary-pi1p/cc-armv7:refs/remotes/jenkins_tmp'
08:51:12 Identity added: **** (****)
08:51:49 fatal: packfile .git/objects/pack/pack-dd8f2842296180e0ffb6376cb0696c662e80f52a.pack cannot be mapped: Cannot allocate memory
08:51:49 fatal: index-pack failed

The .git folder takes quite a bit of space:

$ du -sh .git
324G	.git

I'm not sure how to resolve this other than by wiping the workspace. How can we prevent the repository from growing in the future?

targos avatar Jan 10 '24 10:01 targos