Hi

Dan Maas dmaas@dcine.com
Thu, 1 Nov 2001 04:11:09 -0500


> One thing... if you *absolutely* will not allocate more than 10 MB, you
> can allocate arena chunks of 16 MB each instead of one big contiguous
> arena... that takes care of your scatter/gather problem...

Thanks for the info... Your code has been working so beautifully, I'm just
going to leave things as they are for now... (I don't think I can absolutely
limit the size of a single allocation, aside from running out of address
space or disk space on the backing store)

One more question regarding the allocator- I would like to keep my system
running continuously for quite a while. Assuming there are no memory leaks
in my code, am I guaranteed that the arena won't grow without bound? i.e. if
I allocate and free many blocks of memory over a long period of time, but I
never have more than X bytes of memory allocated at once, is there
guaranteed to be a number Y such that the arena size will never exceed Y
bytes? (where Y is hopefully not too much greater than X of course =).

Regards,
Dan