Version française
Home     About     Download     Resources     Contact us    

This site is updated infrequently. For up-to-date information, please visit the new OCaml website at

Browse thread
[Caml-list] Garbage collector and memory fragmentation
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: 2002-05-27 (13:39)
From: francois bereux <francois.bereux@f...>
Subject: Re: [Caml-list] Garbage collector and memory fragmentation
Thanks to all who gave me answers. I have now a much clearer idea of the topic.
Sincerely yours,

François Béreux

francois bereux a écrit :

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

To unsubscribe, mail Archives:
Bug reports: FAQ:
Beginner's list: