skaffold init - loads all files to memory

Created on 31 Jan 2020  路  2Comments  路  Source: GoogleContainerTools/skaffold

Expected behavior

Big file is not loaded into memory.

Actual behavior

Big file is loaded into memory.

Information

Given a folder with 12GB file, skaffold init hangs loading that file into memory.

  • Skaffold version: v1.2.0

Steps to reproduce the behavior

  1. Skaffold init.
  2. Skaffold loads big file into memory.
areinit kinbug prioritp1

Most helpful comment

Thanks for opening this! I think that's a great idea to prefilter parsing logic to a certain file limit.

All 2 comments

Thanks for opening this! I think that's a great idea to prefilter parsing logic to a certain file limit.

This is now going to be fixed in #3717.

Was this page helpful?
0 / 5 - 0 ratings