Hi, > -----Message d'origine----- > De : Page, Bill [mailto:[EMAIL PROTECTED] > Envoyé : mercredi 22 juin 2005 01:11 > À : 'Vanuxem Grégory' > Cc : axiom-developer@nongnu.org > Objet : RE: [Axiom-developer] Memory leak in Axiom > > > 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?
GCL-2.6.6 Axiom patch 40 on linux. > > > 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 Sorry I do 1) Open Axiom 4) display residual and virtural memory 2) Allocate Matrix -- use ';' to avoid printing new(1000,1000,0)$Matrix(SF); new(1000,1000,0)$Matrix(SF); new(1000,1000,0)$Matrix(SF); new(1000,1000,0)$Matrix(SF); new(1000,1000,0)$Matrix(SF); new(1000,1000,0)$Matrix(SF); 3) Close Axiom > > 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.) > > Regards, > Bill Page. > _______________________________________________ Axiom-developer mailing list Axiom-developer@nongnu.org http://lists.nongnu.org/mailman/listinfo/axiom-developer