-
Notifications
You must be signed in to change notification settings - Fork 894
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Reuse the same memory buffers during unpacking
We think we have memory fragmentation causing failed extraction in Windows containers and smaller Unix devices. Writes of both full objects and streamed objects now re-use the Vec via a sharded-slab implementation. To facilitate the more complicated memory logic, buffer limit management is now integrated into the IO Executor: the immediate executor doesn't limit at all as no outstanding buffers occur, and the threaded executor tracks both the total allocated buffers as well as whether a reusable buffer is available.
- Loading branch information
1 parent
cbd1c84
commit 0c186f1
Showing
15 changed files
with
520 additions
and
153 deletions.
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
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
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
Oops, something went wrong.