#4380: [with patch, needs review, needs more work] 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  |  
-------------------------------------+--------------------------------------
Changes (by SimonKing):

  * summary:  Memory Leak in libsingular => [with patch, needs review,
              needs more work] Memory Leak in libsingular

Comment:

 The patch `libsingularLeak.patch` partially solves the problem.

 I observed that when a coercion error occurs an intermediately generated
 ideal `_I` is explicitly destroyed with `id_Delete(&_I,r)`. But when there
 is no error and the result is returned, then `_I` is not deleted. But I
 think it should.

 With the patch, the above `Test(I)` still shows an increase of memory, but
 a rather moderate increase. So, it seems to be a partial solution of the
 problem, but more needs to be done.

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