#4639: bad memory leak with exponentiation
------------------------------+---------------------------------------------
Reporter: bober | Owner: somebody
Type: defect | Status: new
Priority: blocker | Milestone: sage-3.2.2
Component: basic arithmetic | Resolution:
Keywords: |
------------------------------+---------------------------------------------
Comment (by mabshoff):
The new Cython.spkg reduces the leak significantly:
Without:
{{{
sage: get_memory_usage()
417.98828125
sage: for z in xrange(10000):
....: a = 3.0^CC.0
....:
sage: get_memory_usage()
509.26171875
}}}
With:
{{{
sage: get_memory_usage()
416.19140625
sage:
sage: for z in xrange(10000):
....: a = 3.0^CC.0
....:
sage: get_memory_usage()
437.97265625
}}}
But unfortunately it doesn't fix it completely:
{{{
sage: get_memory_usage()
416.19140625
sage:
sage: for z in xrange(10000):
....: a = 3.0^CC.0
....:
sage: get_memory_usage()
437.97265625
sage: for z in xrange(10000):
a = 3.0^CC.0
....:
sage: get_memory_usage()
459.99609375
}}}
Consequently I will split the Cython.spkg from this ticket.
Cheers,
Michael
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/4639#comment:23>
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
-~----------~----~----~----~------~----~------~--~---