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
appending data to a mmap-ed file
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: -- (:)
From: Richard W.M. Jones <rich@a...>
Subject: Re: [Caml-list] appending data to a mmap-ed file
On Fri, Dec 17, 2010 at 01:36:35AM +0100, Goswin von Brederlow wrote:
> Or avoid the whole issue and make the file large enough to begin
> with. Thanks to sparse files you can create a huge file that only uses 1
> block on disk. Then you can mmap that and it will use up more disk space
> as you fill in data automatically.

Sure, if you have an upper limit.  Neither works well on 32 bit
architectures where you're really limited for contiguous free address


Richard Jones
Red Hat