Acoused memory usage
Program memory usage increases with certain actions, and never decreases. The program can easily use more than 5GB of RAM in only one minute of usage.
This problem may be caused by memory leaks or unnecessary references kept in memory, preventing the garbage collector from working properly.
In particular, I think references to matplotlib plots are kept when the plot should have been destroyed.