Closed TolganLight closed 5 years ago
Y_exp = Y.copy() mu_exp = mu.copy()
The above 2 lines cause memory leaks. Added del statements at the end of method so that the copies are Garbage collected.
Use np.copy() instead of .copy() in the arma.py and the memory leak problem will be solved.
It's a huge pain in the a** when predict is in a loop. It fills the memory in less than 50 attempts.
Y_exp = Y.copy() mu_exp = mu.copy()
The above 2 lines cause memory leaks. Added del statements at the end of method so that the copies are Garbage collected.