-
-
Notifications
You must be signed in to change notification settings - Fork 553
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 in echelon over QQ #8905
Comments
comment:2
Similarly, one gets
I guess the two are related. |
comment:3
I guess #10262 might explain both of these leaks. I wouldn't find it strange that somewhere in both algorithms scalar*vector multiplication happens. |
comment:9
Seems to be fixed indeed.
|
comment:10
Marco, the numbers you are giving indicate that the memory leak is smaller than before. But why do you think it is fixed? |
comment:11
Replying to @simon-king-jena:
No, you are right, I misread the results. It looks like we are still leaking about 16 bytes per call. |
comment:12
Replying to @mezzarobba:
I wouldn't be so quick to conclude linear behaviour from so few data points. I'm getting:
and no further increase up to I see no indication of a memory leak here anymore, but I guess you could valgrind it to be certain. |
comment:13
Yes, I came to the same conclusion after letting it run for a bit longer:
|
comment:14
Setting the ticket to duplicate/positive_review as we agree that the problem is fixed and there is no obvious regression test to add. |
Apparently there is a memory leak in Sage-4.4 when one echelonizes a matrix over
QQ
:Here I show that the critical step really is the echelon form:
The memory consumption is stable at that point. So, copying
M
is no problem, but computing the echelon form is!CC: @koffie
Component: memleak
Keywords: memleak echelonize
Issue created by migration from https://trac.sagemath.org/ticket/8905
The text was updated successfully, but these errors were encountered: