title: Python Memory Usage
body: <p>I am trying to understand why the memory usage of my program is increasing over time.
  I created a program that creates around 200 different instances of class A with two double arrays as properties.</p>
  <p>The program is supposed to update A's arrays by popping the last object and prepending a new object.
  However, the program keeps getting killed because it uses too much memory.</p>
  <p>I am trying to figure out why is that the program's memory usage is increasing even though the size of the objects is supposed to stay the same throughout the whole process.</p>
  <p>class A is here <a href="https://github.com/Isaacmart/Aztland/blob/main/src/candleStick.py" rel="nofollow noreferrer">https://github.com/Isaacmart/Aztland/blob/main/src/candleStick.py</a></p>