IntelPython / sdc

Numba extension for compiling Pandas data frames, Intel® Scalable Dataframe Compiler
https://intelpython.github.io/sdc-doc/
BSD 2-Clause "Simplified" License
645 stars 61 forks source link

SAT-2855 - Memory leaks cause segfaults in unit tests #885

Closed kozlov-alexey closed 4 years ago

kozlov-alexey commented 4 years ago

This PR solves issues with leaked Series data/indexes allocated in unit tests and not freed later, due to excessive increfs/missed decrefs. Running the same tests that create series from different inputs multiple times, shows that memory grows without fix and the fix resolves this.