Debian Codegraph @

test/issues/test-issue266.py

raw symbols SCIP
1 import pandas as pd
2 import numpy as np
3 import gc
4
5
6 def f():
7 print("called f")
8 # Uses around 4GB of memory when looped once
9 df = np.ones(500000000)
10
11
12 # Uses around 20GB of memory when looped 5 times
13 for i in range(0, 5):
14 f()