Opened 9 years ago

Closed 9 years ago

Last modified 9 years ago

#716 closed bug (fixed)

Memory leak in Letterplace

Reported by: Simon King Owned by: somebody
Priority: major Milestone: 4-1-0 and higher
Component: memory leak Version: 3-1-7
Keywords: letterplace, lpPower Cc:

Description

I don't know if the following memory leak in Letterplace has been fixed in more recent versions of Singular. In any case, in version 3-1-7 shipped with Sage, I get:

> 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);
3494384
8634368
8667136
> q = lpPower(p,7);
> memory(0); memory(1);  memory(2);
5393576
10731520
10764288
> q = lpPower(p,7);
> memory(0); memory(1);  memory(2);
7292768
12828672
12861440
> q = lpPower(p,7);
> memory(0); memory(1);  memory(2);
9191960
14925824
14958592
> q = lpPower(p,7);
> memory(0); memory(1);  memory(2);
11091152
17022976
17055744

Change History (3)

comment:1 Changed 9 years ago by Simon King

Priority: minormajor

PS: I think memory leaks generally are "major", not "minor".

comment:2 Changed 9 years ago by hannes

Resolution: fixed
Status: newclosed
Note: See TracTickets for help on using tickets.