#16411: Memory leak in polynomial evaluation
-------------------------------------------------+-------------------------
       Reporter:  SimonKing                      |        Owner:
           Type:  defect                         |       Status:  new
       Priority:  major                          |    Milestone:  sage-6.3
      Component:  commutative algebra            |   Resolution:
       Keywords:  memory leak polynomial         |    Merged in:
  evaluation libsingular                         |    Reviewers:
        Authors:                                 |  Work issues:
Report Upstream:  N/A                            |       Commit:
         Branch:                                 |     Stopgaps:
   Dependencies:                                 |
-------------------------------------------------+-------------------------

Comment (by leif):

 Replying to [comment:1 SimonKing]:
 > It seems like the culprit is on our side, in
 `sage.libs.singular.polynomial`.

 Yep, that's my impression at least.  If the caller should clean up, it's
 
`sage.rings.polynomial.multi_polynomial_libsingular.MPolynomial_libsingular.__call__()`
 (and probably more).

 We'd presumably have to change both functions though.

 (I haven't looked at the modules in whole; perhaps there are more
 potential leaks.  `new_MP()` looked suspicious to me as well, but isn't
 used / called in the given example.)

--
Ticket URL: <http://trac.sagemath.org/ticket/16411#comment:2>
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 unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/sage-trac.
For more options, visit https://groups.google.com/d/optout.

Reply via email to