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

Investigate high memory use by license detector #3723

Open
willmurphyscode opened this issue Mar 12, 2025 · 0 comments
Open

Investigate high memory use by license detector #3723

willmurphyscode opened this issue Mar 12, 2025 · 0 comments
Labels
bug Something isn't working license relating to software licensing performance

Comments

@willmurphyscode
Copy link
Contributor

Interesting discussion. I think swapping some data to disk would be very useful. Not only for large targets with many dependencies but also when Syft is runing as a container or a DaemonSet with limited memory resources. Most of the time it will fails with OOMKilled errors for mid size images.

I'm not sure it's relevant to the discussion, but I also found that the license checker is allocating quite a lot of memory as well, which does not make things easy for the whole memory consumption concerns. Do you have any idea, why it's allocating so much memory based on the profile, which looks very similar to different images I tried scanning?

Image

Originally posted by @danielpacak in #3263

@willmurphyscode willmurphyscode added bug Something isn't working license relating to software licensing performance labels Mar 12, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working license relating to software licensing performance
Projects
Status: No status
Development

No branches or pull requests

1 participant