Memory leakage
sepandhaghighi opened this issue · comments
Sepand Haghighi commented
Description
It seems Python garbage collector cant automatically free up resources consumed by matplotlib
Steps/Code to Reproduce
from samila import *
for i in range(100):
g = GenerativeImage()
result = g.save_image("{}.png".format(i), depth=5)
print(result)
Expected Behavior
Generate 100 images
Actual Behavior
Crash after 20-25
Operating System
Windows 10
Python Version
3.6.5
Samila Version (Use : samila.__version__
)
0.4