3946 shaares
2034 private links
2034 private links
We found our hard to diagnose Python memory leak problem in numpy and numba using C/C++. It turned out that the numpy array resulting from the above operation was being passed to a numba generator compiled in "nopython" mode. This generator was not being iterated to completion, which caused the leak.