>On Linux, you wouldn't allocate 1 GB of memory with sbrk. You'd use an >anonymous mmap, which reserves address space but provides no memory backing. >The allocation is done on faulting the page. > >That's how glibc's malloc() serves allocations above a certain adaptive >threshold.
Thiago, Many thanks for a good comment, It looks like what we actually needed. I will check if anonymous mapping maps are supported on all systems we have to support, this might be a great improvement for our Linux clients :) Alex _______________________________________________ Interest mailing list Interest@qt-project.org http://lists.qt-project.org/mailman/listinfo/interest