diff -up cadvisor-0.37.0/container/common/helpers.go.orig cadvisor-0.37.0/container/common/helpers.go
--- cadvisor-0.37.0/container/common/helpers.go.orig 2020-07-08 02:22:28.000000000 +0200
+++ cadvisor-0.37.0/container/common/helpers.go 2020-09-30 20:29:56.272819413 +0200
@@ -219,7 +219,7 @@ func readUInt64(dirpath string, file str
// Lists all directories under "path" and outputs the results as children of "parent".
func ListDirectories(dirpath string, parent string, recursive bool, output map[string]struct{}) error {
- buf := make([]byte, godirwalk.DefaultScratchBufferSize)
+ buf := make([]byte, godirwalk.MinimumScratchBufferSize)
return listDirectories(dirpath, parent, recursive, output, buf)
}