Memory leak using pandas dataframe
问题 I am using pandas.DataFrame in a multi-threaded code (actually a custom subclass of DataFrame called Sound ). I have noticed that I have a memory leak, since the memory usage of my program augments gradually over 10mn, to finally reach ~100% of my computer memory and crash. I used objgraph to try tracking this leak, and found out that the count of instances of MyDataFrame is going up all the time while it shouldn't : every thread in its run method creates an instance, makes some calculations,