How to release memory? (D2.0.30)

BCS none at anon.com
Sun Jul 5 08:40:41 PDT 2009


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.




More information about the Digitalmars-d-learn mailing list