#17494: Memory leak for letterplace implementation of free algebras
-------------------------------------------------+-------------------------
Reporter: SimonKing | Owner:
Type: defect | Status: new
Priority: major | Milestone: sage-6.5
Component: memleak | Resolution:
Keywords: | Merged in:
Authors: | Reviewers:
Report Upstream: Reported upstream. Developers | Work issues:
acknowledge bug. | Commit:
Branch: | Stopgaps:
Dependencies: |
-------------------------------------------------+-------------------------
Changes (by SimonKing):
* upstream: Not yet reported upstream; Will do shortly. => Reported
upstream. Developers acknowledge bug.
Comment:
Here is the corresponding computation in Singular (as shipped with Sage):
{{{
./sage -singular
SINGULAR /
Development
A Computer Algebra System for Polynomial Computations / version
3-1-7
0<
by: W. Decker, G.-M. Greuel, G. Pfister, H. Schoenemann \ Aug 2013
FB Mathematik der Universitaet, D-67653 Kaiserslautern \
> LIB "freegb.lib";
// ...
> ring r = 0,(x,y,z),dp;
> def R = makeLetterplaceRing(30);
> setring R;
> poly p = x(1)*x(2)*x(3)*x(4) + x(1)*y(2)*x(3)*z(4) +
2*z(1)*z(2)*x(3)*y(4);
> poly q = lpPower(p,7);
> memory(0); memory(1); memory(2);
3494312
8634368
8667136
> q = lpPower(p,7);
> memory(0); memory(1); memory(2);
5393504
10731520
10764288
> q = lpPower(p,7);
> memory(0); memory(1); memory(2);
7292696
12828672
12861440
> q = lpPower(p,7);
> memory(0); memory(1); memory(2);
9191888
14925824
14958592
> Auf Wiedersehen.
}}}
So, the leak is in Singular, not in the wrapper.
--
Ticket URL: <http://trac.sagemath.org/ticket/17494#comment:1>
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.