caml-list - the Caml user's mailing list
 help / color / mirror / Atom feed
* [Caml-list] Garbage collector and memory fragmentation
@ 2002-05-24  7:23 francois bereux
  2002-05-24 10:22 ` Markus Mottl
                   ` (2 more replies)
  0 siblings, 3 replies; 6+ messages in thread
From: francois bereux @ 2002-05-24  7:23 UTC (permalink / raw)
  To: caml-list

<This question is not specific to OCaml, but rather to garbage
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 => 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.

--
****************************************************
*   François BÉREUX
*
*   Departement Antennes & Radomes
*   THALES Systemes Aeroportes
*   Centre René Mouchotte
*   La Clef de Saint-Pierre
*   1, Boulevard Jean Moulin
*   F-78852 Élancourt Cedex
*   FRANCE
*
*   tél : +33-1-34.59.73.12
*   fax : +33-1-34.59.70.54
*   mél : francois.bereux@fr.thalesgroup.com
****************************************************


-------------------
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


^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2002-05-27 13:39 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-05-24  7:23 [Caml-list] Garbage collector and memory fragmentation francois bereux
2002-05-24 10:22 ` Markus Mottl
2002-05-24 11:36   ` Martin Jambon
2002-05-27  8:19 ` Xavier Leroy
2002-05-27  9:39   ` Christophe Raffalli
2002-05-27 13:37 ` francois bereux

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).