-
Notifications
You must be signed in to change notification settings - Fork 423
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 excessive memory use in inspect_linkages_lief
#5348
Conversation
introduced in condagh-5228 which replaced binary.name with str(file). The former returns the path to the binary whereas the latter returns the contents of the parsed binary, naturally causing high memory usage. That semantic change was unintended (misread upstream changes). Since binary's path is no longer part of the object, pass it separately. Signed-off-by: Marcel Bargull <[email protected]>
to avoid variable shadowing. Signed-off-by: Marcel Bargull <[email protected]>
Signed-off-by: Marcel Bargull <[email protected]>
Signed-off-by: Marcel Bargull <[email protected]>
CodSpeed Performance ReportMerging #5348 will not alter performanceComparing Summary
|
I'm currently out of office but if @jezdez is also on board, I can work on a patch release starting on Wednesday May 21st, especially if #5345 looks good to go and can also be included (otherwise I can do a separate patch release to include that change) |
Description
introduced in gh-5228 which replaced
binary.name
withstr(file)
.The former returns the path to the binary whereas the latter returns the
contents of the parsed binary, naturally causing high memory usage.
That semantic change was unintended (misread upstream changes).
Since binary's path is no longer part of the object, pass it separately.
Fixes gh-5267
Checklist - did you ...
news
directory (using the template) for the next release's release notes?