Details
-
Sub-task
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
None
-
None
Description
To simplify the implementation of the adaptive memory management, the asynchronous writers could use callbacks that are invoked when a memory has been successfully written.
In the current solution, the thread writing memory segments to disk needs to keep track of how much was spilled and release that memory later.
The callbacks can in that case release the memory directly. This is both simpler and less prone to leaks.