perf(misconf): High memory usage (> 10 GB) on some repos #6958
Closed
david-nascimento-form3
started this conversation in
Bugs
Replies: 1 comment
-
Thanks for the report, I'm investigating this. Track #6959 |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Description
Seems related to:
We noticed high memory usage when using the misconfig scanner
terraform
, it easily reaches the 24GB of memory when a high number of terraform resources are present [>10000].Note
This profiling information was not from the code sample below
Desired Behavior
To have a steady memory usage, if possible close to tfsec.
Actual Behavior
A high memory usage that leads to a container being killed.
Reproduction Steps
Target
Filesystem
Scanner
Misconfiguration
Output Format
JSON
Mode
Standalone
Debug Output
$ trivy config --misconfig-scanners terraform test-tf --debug
Operating System
Sonoma 14.5, [Container image linux/amd64]
Version
Also tested with latest version of master:
Checklist
trivy image --reset
Beta Was this translation helpful? Give feedback.
All reactions