-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Store only hash of cfg_modifiers in memory
Summary: # What S428044 had an issue where setting cfg_modifiers at fbsource caused a spike in BTD memory usage and OOMs. We don't actually use cfg_modifiers for anything besides checking that the package file changed, and only even need this because buck doesn't consider them in the buck targets hash # This diff Removes storing the entire cfg_modifiers and just stores a hash of it, saving memory usage. Reviewed By: aniketmathur, rjbailey Differential Revision: D59410063 fbshipit-source-id: c27760c9e6dba3ec602b864cc3a2a59c20080b22
- Loading branch information
1 parent
653b058
commit 600b96e
Showing
2 changed files
with
108 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters