I am working on a python project where I am receiving some large data from a database based on some queries. However, I realized that memory usage grows more and more in every i