Skip to content

Reduce collector memory use - #14975

Merged
fniessink merged 1 commit into
masterfrom
14974-dependency-track-projects-with-lots-of-direct-dependencies-crash-the-collector
Nov 6, 2026
Merged

fniessink merged 1 commit into
masterfrom
14974-dependency-track-projects-with-lots-of-direct-dependencies-crash-the-collector

Conversation

@fniessink

Copy link
Copy Markdown
Member

When measuring dependencies or security warnings with Dependency-Track as source, the collector could still use a lot of memory for projects with many direct dependencies, because Dependency-Track includes the project and its direct dependencies in each component. The collector now parses the components while reading the response, without keeping the response in memory, and keeps only the data it needs.

Fixes #14974.

When measuring dependencies or security warnings with Dependency-Track as source, the collector could still use a lot of memory for projects with many direct dependencies, because Dependency-Track includes the project and its direct dependencies in each component. The collector now parses the components while reading the response, without keeping the response in memory, and keeps only the data it needs.

Fixes #14974.
@sonarqubecloud

sonarqubecloud Bot commented Nov 6, 2026

Copy link
Copy Markdown

@fniessink
fniessink merged commit f94d8e4 into master Nov 6, 2026
35 checks passed
@fniessink
fniessink deleted the 14974-dependency-track-projects-with-lots-of-direct-dependencies-crash-the-collector branch November 6, 2026 14:10
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.

Dependency-Track projects with lots of direct dependencies crash the collector.

1 participant