Skip to content

Commit

Permalink
Added.
Browse files Browse the repository at this point in the history
  • Loading branch information
emeryberger committed Sep 23, 2021
1 parent acefe67 commit 53f22c9
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions test/issues/test-issue266.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
import pandas as pd
import numpy as np
import gc

def f():
print('called f')
#Uses around 4GB of memory when looped once
df = np.ones(500000000)

#Uses around 20GB of memory when looped 5 times
for i in range(0,5):
f()

0 comments on commit 53f22c9

Please sign in to comment.