#4380: Memory Leak in libsingular
-------------------------------------+--------------------------------------
 Reporter:  SimonKing                |        Owner:  malb      
     Type:  defect                   |       Status:  new       
 Priority:  major                    |    Milestone:  sage-3.2.1
Component:  commutative algebra      |   Resolution:            
 Keywords:  memory leak libsingular  |  
-------------------------------------+--------------------------------------
Comment (by SimonKing):

 ... and the line `J.append(q)` (that would occur, e.g., in a Groebner
 basis computation) is not needed either. Replacing `Test(I)` by the
 following code triggers the leak as well:

 {{{
 def Test(I):
     R=I.ring()
     p=R.random_element()
     J=list(I.reduced_basis())
     while(1):
         q=p.reduce(J)
 }}}

-- 
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/4380#comment:2>
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to