-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Free up memory resource after hash probe spill (#10879)
Summary: The join fuzzer detects the memory usage of hash probe operator increased after spill and this mostly happen on the first hash probe input spill which creates buffers and spilled output reader which consumes memory from the hash probe operator pool. This PR fixes this by clear the buffers at the end of spill as well as defer the spilled output reader creation. Pull Request resolved: #10879 Test Plan: Join fuzzer tests run through >5hrs with opt build and debug build with oom injection Reviewed By: Yuhta, bikramSingh91 Differential Revision: D61928578 Pulled By: xiaoxmeng fbshipit-source-id: 78de4345c0b4c4aaaeb72773c6e1436f29ddcec1
- Loading branch information
1 parent
5f935a7
commit 00194ad
Showing
3 changed files
with
35 additions
and
16 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
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