You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
atelet's image-pull goes through memorypullcache.Fetch → mutate.Extract. On multi-GB multi-layer images, atelet OOMs: mutate.Extract has a defer layerReader.Close() inside its layer loop, and so, all decompressors and HTTP response bodies stay alive until extraction finishes.
I hit this with big enough image. Atelet OOMed at the default 64 GiB pod memory limit. Bumping the limit to 100 GiB unblocked me.
#463 covers this: Phase 0 bumps go-containerregistry ≥ v0.21.6 for immediate relief, and the redesign drops mutate.Extract in favor of streaming per-layer unpack (via containerd archive.Apply, as suggested above), making memory use independent of image size.
Activity
azr commentedon May 29, 2026
Another option would be to try using https://pkg.go.dev/github.com/containerd/containerd/v2/pkg/archive#Apply but that's probably more work
dims commentedon May 29, 2026
Adrien Delorme (@azr) will this help? google/go-containerregistry@38d6e4087c
looks like it was added in v0.21.6
Bound the in-memory image pull cache by total bytes
Bound the in-memory image pull cache by total bytes
Bound the in-memory image pull cache by total bytes
Bound the in-memory image pull cache by total bytes
Bound the in-memory image pull cache by total bytes
dberkov commentedon Jul 19, 2026
#463 covers this: Phase 0 bumps go-containerregistry ≥ v0.21.6 for immediate relief, and the redesign drops mutate.Extract in favor of streaming per-layer unpack (via containerd archive.Apply, as suggested above), making memory use independent of image size.
Bump go-containerregistry to v0.21.7 to fix OOM during image extract
Bump go-containerregistry to v0.21.7 to fix OOM during image extract (#…