From mboxrd@z Thu Jan 1 00:00:00 1970 Received: (from majordomo@localhost) by pauillac.inria.fr (8.7.6/8.7.3) id PAA23564; Mon, 27 May 2002 15:39:45 +0200 (MET DST) X-Authentication-Warning: pauillac.inria.fr: majordomo set sender to owner-caml-list@pauillac.inria.fr using -f Received: from concorde.inria.fr (concorde.inria.fr [192.93.2.39]) by pauillac.inria.fr (8.7.6/8.7.3) with ESMTP id PAA23151 for ; Mon, 27 May 2002 15:39:44 +0200 (MET DST) Received: from gwsmtp.thomson-csf.com (gwsmtp.thomson-csf.com [195.101.39.226]) by concorde.inria.fr (8.11.1/8.11.1) with ESMTP id g4RDcxD25088 for ; Mon, 27 May 2002 15:39:09 +0200 (MET DST) Received: from thomplex.thomson-csf.com (200.3.2.2) by gwsmtp.thomson-csf.com (NPlex 5.1.053) id 3CF1C66F00017FE7 for caml-list@inria.fr; Mon, 27 May 2002 15:42:08 +0200 Received: from thomplex.thomson-csf.com (200.3.2.2) by thomplex.thomson-csf.com (NPlex 5.1.036) id 3CEA4A16000A6D70 for caml-list@inria.fr; Mon, 27 May 2002 15:39:05 +0200 Received: from mes1.rm.tasfr.thales (61.14.31.2) by dexplex.detexis.thomson-csf.com (NPlex 5.1.053) id 3CEF922C0000478C for caml-list@inria.fr; Mon, 27 May 2002 15:38:32 +0200 Received: from mes1.rm.tasfr.thales (61.14.31.2) by mes1.rm.tasfr.thales (NPlex 5.1.053) id 3CC6209900027351 for caml-list@inria.fr; Mon, 27 May 2002 15:37:11 +0200 Received: from 61.25.85.156 by mes1.rm.tasfr.thales (InterScan E-Mail VirusWall NT); Mon, 27 May 2002 15:37:11 +0200 Message-ID: <3CF23687.14A55F8B@fr.thalesgroup.com> Date: Mon, 27 May 2002 15:37:11 +0200 From: francois bereux X-Mailer: Mozilla 4.75 [fr]C-CCK-MCD (WinNT; U) X-Accept-Language: fr-FR MIME-Version: 1.0 To: caml-list@inria.fr Subject: Re: [Caml-list] Garbage collector and memory fragmentation References: <3CEDEA7C.D2C9B8D6@fr.thalesgroup.com> Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable Sender: owner-caml-list@pauillac.inria.fr Precedence: bulk Thanks to all who gave me answers. I have now a much clearer idea of the = topic. Sincerely yours, Fran=E7ois B=E9reux francois bereux a =E9crit : > collection.> > > I have a program (in Fortran90) that uses many (> 100.000) small lists > of integers ( about 100 elements per list ). Each list is built > incrementally =3D> I allocate many small blocks. It appears that this > leads to memory fragmentation. For instance, even though I deallocate > all the lists, the memory used by the program does not seem to really > decrease. > My question is : does a garbage collector (for instance the one in > OCaml) deal with this kind of issues ( defragmentation of the memory ) > in a situation similar to mine : many small lists of elements ? > > I apologize if this question is too much off-topic from the list. ------------------- To unsubscribe, mail caml-list-request@inria.fr Archives: http://caml.inria.fr Bug reports: http://caml.inria.fr/bin/caml-bugs FAQ: http://caml.inria.fr/FAQ/ Beginner's list: http://groups.yahoo.com/group/ocaml_beginners