Skip to content

Conversation

@G-Rath
Copy link
Owner

@G-Rath G-Rath commented Oct 3, 2025

Based on google/osv-scanner#2241, this should greatly reduce peak memory usage of the detector and in theory make it faster since there should be less advisories to check, though in practice I don't expect this to be noticeable as it mainly matters for large databases like Ubuntu which we don't support out of the box.

I've implemented this as part of the memDb meaning we retain the total count of advisories loaded externally even though internally the number of advisories retained is likely far lower

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.

1 participant