-
Notifications
You must be signed in to change notification settings - Fork 184
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Memory leak with pytaco
#546
Comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hi,
I ran into a memory leak when using
pytaco
(I am using commit2b8ece4c230a5f0f0a74bc6f48e28edfb6c1c95e
, the currentmaster
at the time of writing).The following script demonstrates the memory leak. I have two vectors
a, b
and repeatedly compute their outer productC[i, j] = a[i] * b[j]
.Here is the output, which shows that memory increases at each iteration:
I tried adding a
del C
, and aimport gc; gc.collect()
at the end of each iteration without success. Therefore I suspect the leak is in the C++ layer.Best,
Felix
The text was updated successfully, but these errors were encountered: