Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 28 Dec 2008 21:11:30 -0800
From:      Yuri <yuri@rawbw.com>
To:        freebsd-questions@freebsd.org
Subject:   How process size is calculated? Is it always based on the current highest available address in memory space?
Message-ID:  <49585C02.1030508@rawbw.com>

next in thread | raw e-mail | index | archive | help
malloc(3) can be controlled by MALLOC_OPTIONS to use mmap-based 
allocation as opposed to sbrk-based allocation.
But allocations/deallocations with mmaps can eventually lead to 
non-continuously mmapped memory (having some non-mmapped gaps).

Are  these gaps excluded from the process size or size is always linked 
to the current highest available address in memory space?

Yuri




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?49585C02.1030508>