-
Notifications
You must be signed in to change notification settings - Fork 722
Open
Labels
enhancementNew feature or requestNew feature or requestneeds-proposalShould be done but needs proposal/design for further discussionShould be done but needs proposal/design for further discussionperformance
Milestone
Description
What would you like to be added:
Currently, Syft builds the sbom report in memory before writing it to disk. I propose that instead of building in memory, we stream directly to disk.
Why is this needed:
To avoid OOMs
Additional context:
SBOM generation:
https://github.com/anchore/syft/blob/main/cmd/syft/internal/commands/scan.go#L199
https://github.com/anchore/syft/blob/main/internal/task/package_task_factory.go#L116
https://github.com/anchore/syft/blob/main/syft/create_sbom.go#L66
Report generation:
https://github.com/anchore/syft/blob/main/cmd/syft/internal/commands/scan.go#L208
alfredgamulo
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or requestneeds-proposalShould be done but needs proposal/design for further discussionShould be done but needs proposal/design for further discussionperformance
Type
Projects
Status
Backlog