On Thu, 01 Sep 2011 23:13:19 +0300, Marco Leise <[email protected]> wrote:

So I settled with the memory mapped version,

I wouldn't advise using memory-mapped files under the hood for anything without prior extensive testing in low-memory conditions. The kernel will be reluctant to drop pages in the file that have already been read/written. Some hinting APIs could be used, but these are not portable or reliable. (I recently had to rewrite one of my programs which used memory-mapped files with this as one of the reasons).

--
Best regards,
 Vladimir                            mailto:[email protected]

Reply via email to