Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: improve memory usage #1509

Merged
merged 1 commit into from
Dec 24, 2021
Merged

fix: improve memory usage #1509

merged 1 commit into from
Dec 24, 2021

Conversation

knqyf263
Copy link
Collaborator

@knqyf263 knqyf263 commented Dec 23, 2021

Description

Scanning images including large executable files or JAR files consume a large amount of memory. This PR reduces memory usage.

Before

Showing nodes accounting for 1787.11MB, 99.50% of 1796.01MB total

After

Showing nodes accounting for 29068.50kB, 86.05% of 33779.92kB total

Issues

Close #1295
Close #1284

Blocker

@knqyf263 knqyf263 self-assigned this Dec 23, 2021
@knqyf263 knqyf263 mentioned this pull request Dec 24, 2021
1 task
@knqyf263 knqyf263 requested a review from afdesk December 24, 2021 06:24
@knqyf263 knqyf263 merged commit da8b72d into main Dec 24, 2021
@knqyf263 knqyf263 deleted the fix/out_of_memory branch December 24, 2021 06:33
liamg pushed a commit that referenced this pull request Jun 7, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Memory and CPU usage is very high. OOM exception killed Trivy trivy v.0.20.0 OOM
2 participants