3935 shaares
2033 private links
2033 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.