Giorgos Keramidas wrote:
The FreeBSD malloc(3) implementation can use either mmap() or sbrk() to
obtain memory from the system.  It does not 'waste a high percentage of
memory' but it simply maps only high addresses (with an unmapped 'hole'
in lower addresses).

But the hole it leaves with MALLOC_OPTIONS='dM'  is way larger than the
one left by 'Dm' option. Usually malloc will keep allocating addresses higher than this initial value and will never come back and fill some parts of this gap.
Therefore "wasting" this space.

Yuri


_______________________________________________
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"

Reply via email to