GoogleContainerTools / GoogleContainerTools/container-structure-test
High memory usage when running tests
- Dominant language
- Go
- Stars
- 2.5k
- Forks
- 212
- PR merge metrics
- No merged PRs in 30d
Description
I have a 6GB docker image with a fair amount of tools installed and I am seeing some very high memory usage when running tests on it. I am seeing the Container Structure Test process take upwards of 5-6GB of memory at peak and the docker process also taking up 6-7GB of memory at its peak. The testing software does eventually clean up, but the docker process does not until its restarted.
I have a few other images around 2GB and 4GB in size and neither of them have this issue. I am running 1 file existence test and about 6 command tests that are just running a `which` command on various software.
Any thoughts on what is going on here? This issue is stopping me from running this in our dev pipelines since our agents can't handle that kind of memory load.
Contributor guide
Assessment
This issue has not been assessed yet.