Memory Leak in warmer #2754
Labels
area/performance
issues related to kaniko performance enhancement
feat/warmer
kind/enhancement
New feature or request
priority/p2
High impact feature/bug. Will get a lot of users happy
Actual behavior
When we warm an image it's fully loaded in RAM before it's written on disk.
The TarWriter is a bytes.Buffer here:
kaniko/pkg/cache/warm.go
Line 68 in 8c09eff
Then the files are written here:
kaniko/pkg/cache/warm.go
Line 84 in 8c09eff
Expected behavior
The downloaded file should be streamed into a file on disk with a FileWritter.
To Reproduce
warmer -i
Triage Notes for the Maintainers
The text was updated successfully, but these errors were encountered: