nim-works / loony

A high throughput MPMC lock-free queue based on a paper by Giersch, Nolte et al implemented in pure Nim.
https://nim-works.github.io/loony/
MIT License
64 stars 4 forks source link

[LOONY] Memory Leak 0.1.3 #16

Closed shayanhabibi closed 2 years ago

shayanhabibi commented 2 years ago

As with all great things, somewhere along the way we screwed up. The nodes memory reclamation algorithm is not correct for some changes that were made while refactoring.

Currently the leak has been corrected up to a degree of ~+90% (with previous test node leaks of about 29 now down to 2+/-2). I’m on the last stretch of correcting the remainder.

you can see #15 for progress