-
Notifications
You must be signed in to change notification settings - Fork 2.1k
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
Don't keep the full info of all children in memory #11282
Conversation
🚀 Test PASSed. 🚀 |
@icewind1991 do I understand this correctly: you moved the loop into a separate function, so the |
Works 👍 |
Yes |
Memory used by |
Don't keep the full info of all children in memory
@karlitschek I assume we want to backport this for #10954 |
As this is a gold ticket: Yes |
stable7 bdc26c6 |
yes please. Thanks guys |
Should we backport this to stable6, to improve #10954 ? |
Good idea. Please backport |
Will do |
stable6: c526ebb Will have a quick test to confirm it still works. |
Scanning still works correctly. |
Improves the memory footprint for the file scanner (30MB -> 5MB for my local test)
Fixes #10954 for the most part
Note, I'm working on additional (less significant) improvements for this issue but those require larger changes and depend on #10993 and are thus not suited for backporting to stable7
cc @DeepDiver1975 @PVince81 @th3fallen