Skip to content

Git memory issue with armv7 fanned containers #3607

Open
@targos

Description

@targos

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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions