Hello Jérôme,
Like BCS said, the only way to make sure that the memory will be returned is to use mmap/munmap directly (or their equivalent on your platform).
That maybe true, but it wasn't my point. What I was trying to get at was that if you want to load a file into a buffer then asking mmap to do it removes the need to allocate a buffer from the language runtime.
