Opened 9 years ago

Closed 9 years ago

#690 closed bug (fixed)

memory leak in std over integers

Reported by: ren Owned by: somebody
Priority: minor Milestone: 4-1-0 and higher
Component: dontKnow Version: 4-0-1
Keywords: Cc:

Description

Running the following code

ring r=integer,(t,x(1..4)),ws(1,-1,-11,-3,-19);
ideal I = 8*t*x(3)*x(4)+t*x(1)*x(2)+2*x(1)^2,
t*x(1)*x(2)^2+2*x(1)^2*x(2)+2*t^3*x(1)*x(2)*x(3)-192*x(1)^3+4*t^2*x(1)^2*x(3),
3-t;
for(int i=1; i<100; i++)
{
  memory(0);
  ideal II = std(I);
  kill II;
}

yields

..
324248
324944
325640
326336
327032
327728
328424
329120
329816
330512

Change History (2)

comment:1 Changed 9 years ago by ren

Sorry, the I really should've given a simpler example:

ring r=integer,t,ds;
ideal I = 2,3-t;
for(int i=1; i<100; i++)
{
  memory(0);
  ideal II = std(I);
  kill II;
}

I think the problem is definitely because of the local ordering. Trying to create similar results with global orderings failed.

comment:2 Changed 9 years ago by hannes

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