This PR makes the asynchronous patch generation scalable.
Before, this PR, generating lots of patches could have led to huge memory usage over time that could not be freed.
With this PR, the memory used remains stable no matter the number of patches generated.
This PR makes the asynchronous patch generation scalable.
Before, this PR, generating lots of patches could have led to huge memory usage over time that could not be freed. With this PR, the memory used remains stable no matter the number of patches generated.