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] Memory mapped values
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: 2001-10-09 (07:23)
From: Fabrice Le Fessant <fabrice.le_fessant@i...>
Subject: Re: [Caml-list] Memory mapped values

In the CDK, you will find a very small library "mmap" closed to what
you are talking about. The idea is to output the values in the file as
if they were in memory, so that the file can be directly mapped in
memory, and the values directly used by Ocaml. The library has not yet
being tested a lot. Of course, these values cannot be collected by the
garbage collector, nor should be mutable. However, there is a big
(unsolved yet) problem with compaction. Another problem is the size of
the pages bitmap used by the garbage collector, since the file might
be mapped very far from the main heap.


- Fabrice
Bug reports:  FAQ:
To unsubscribe, mail  Archives: