'Python Memory Usage
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.
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.
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.
class A is here https://github.com/Isaacmart/Aztland/blob/main/src/candleStick.py
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|
