Memory Use
Unfortunately, neither heap manager is adequately documented in v3.6a – in
fact, heapmem.o isn't in the manual at all. Version 5.0 will have only one
method of heap allocation which will be a combination of the two existing
methods.
Oh, you're right – I believe heapmem.o does work more like a 'normal' malloc,
in that _Heapsize really is just the block-size requested from the operating
system, which is cut into smaller-chunks (if necessary) for the user. If you
request more than _Heapsize bytes, then malloc will ask for as many blocks of
size _Heapsize which will satisfy the request.
-Mike