[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: [Axiom-developer] Memory leak in Axiom

From: Page, Bill
Subject: RE: [Axiom-developer] Memory leak in Axiom
Date: Tue, 21 Jun 2005 19:11:29 -0400

On Tuesday, June 21, 2005 3:43 PM Vanuxem Grégory wrote:

> It seems that there is a memory leak in Axiom;
> Open a shell, type 'top' and observe residual and virtual memory.
> Open AXIOMsys and type 
>  new(1000,1000,0.0)$Matrix(SF);
> and repeat this action.

I can not reproduce this error using the Windows version
of Axiom 0.1.4. This version of Axiom is based GCL 2.6.5.
On windows I can monitor memory usage with Task Manager,
Performance tab.

What version of Axiom and operating system are you using
for your test? What version of GCL was used to build Axiom?

> A (1000,1000) C double float array takes 7.63 Mb.
> If I alloc a contiguous storage memory array of 1000x1000,
> amount of virtual and residual memory augment of 10Mb. It seems
> it is never released.
> I haven't found this in gcl.

Could you describe the test you use on GCL? What version of
gcl are you using?

> Any idea ?

If you repeat this process several times:

1) Open Axiom
2) Allocate Matrix
3) Close Axiom
4) display residual and virtural memory

For example do this 5 times in a row, do you find that the
total available memory is constantly decreasing?

If this is not that case, but only occurs on the first
iteration, then what you might be seeing is some kind of
executable cacheing being done by the operating system.
(Does linux do that? Some versions of Windows do. I see
such an effect under Windows XP.)

Bill Page.

reply via email to

[Prev in Thread] Current Thread [Next in Thread]