#4631: possible memory leak in matrix code?
------------------------+---------------------------------------------------
Reporter: craigcitro | Owner: mabshoff
Type: defect | Status: new
Priority: major | Milestone: sage-3.2.1
Component: memleak | Keywords:
------------------------+---------------------------------------------------
So I was looking at another ticket, and noticed the following memory usage
of Hermite normal form:
{{{
sage: M = random_matrix(ZZ,50,50)
sage: get_memory_usage()
'1104M+'
sage: for _ in range(100): foo = M.hermite_form()
....:
sage: get_memory_usage()
'1170M+'
}}}
It could be that the memory is getting "lost" in some other way, but it
might be nice to see why it's happening. In fact, it's probably got
nothing to do with HNF:
{{{
sage: get_memory_usage()
'1170M+'
sage: for _ in range(100): foo = M.echelon_form()
....:
sage: get_memory_usage()
'1237M+'
}}}
I'm happy to find out that there's a reasonable explanation for this.
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/4631>
Sage <http://sagemath.org/>
Sage - Open Source Mathematical Software: Building the Car Instead of
Reinventing the Wheel
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"sage-trac" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/sage-trac?hl=en
-~----------~----~----~----~------~----~------~--~---