#10262: memory leak in scalar*vector mutiplication
------------------------------+---------------------------------------------
Reporter: dimpase | Owner: jason, was
Type: defect | Status: new
Priority: blocker | Milestone: sage-4.6.1
Component: linear algebra | Keywords: linear algebra, memory leak
Author: | Upstream: N/A
Reviewer: | Merged:
Work_issues: |
------------------------------+---------------------------------------------
Here is an example
{{{
sage: for i in range(1,8):
A=(1/2)*vector([x/2 for x in range(i*1000)])
get_memory_usage()
....:
921.53125
1287.4765625
2111.984375
3577.546875
5867.19140625
9164.109375
... (killed, due to running out of memory)
}}}
The printed numbers in Mb. Needless to say:
{{{
sage: for i in range(1,8):
....: A=vector([x/2 for x in range(i*1000)])
....: get_memory_usage()
....:
828.91015625
829.4453125
829.73046875
830.0
830.55859375
830.75
831.0078125
}}}
works as expected. (This is with Sage 4.6 on x64, but is not limited to
this particular platform: see [https://groups.google.com/group/sage-
devel/browse_thread/thread/e86f13c78b92a8bb?hl=en]. Sage 4.5.3 shows the
same behaviour.)
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/10262>
Sage <http://www.sagemath.org>
Sage: Creating a Viable Open Source Alternative to Magma, Maple, Mathematica,
and MATLAB
--
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.