Skip to content

fix(memory): Don't retain verification results in LoggingPluginVerificationReportageAggregator - #1580

Open
Ivan Chirkov (chrkv) wants to merge 1 commit into
masterfrom
retain-minimal-report-locations
Open

fix(memory): Don't retain verification results in LoggingPluginVerificationReportageAggregator#1580
Ivan Chirkov (chrkv) wants to merge 1 commit into
masterfrom
retain-minimal-report-locations

Conversation

@chrkv

Copy link
Copy Markdown
Collaborator

LoggingPluginVerificationReportageAggregator keeps every PluginVerificationResult until verification is complete, even though the final aggregated output only needs the plugin and the directory where its report was written.

A verification result may retain dependency graphs, compatibility problems, usages and other analysis data, so keeping all results alive unnecessarily increases memory usage on large verification runs.

Store only the plugin and report directory instead, allowing the rest of each verification result to be garbage-collected after it has been reported.

…d `PluginVerificationResult`. Use small `ReportLocation` instead.
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.

2 participants