On Sat, Aug 7, 2010 at 4:03 PM, Henning Brauer <[email protected]>wrote:

> * Ted Unangst <[email protected]> [2010-08-07 19:54]:
> > you write your own allocator.
>
> don't. ever.


to put it another way, if memory fragmentation ever does become a problem
for you, there is probably an easier and safer solution than writing your
own allocator.  upgrading to a 64-bit platform, for example, is likely to be
a far better solution.  modifying your app to use malloc(3) and free(3) more
conservatively may be a viable option as well, although at that point you're
starting down the road of writing your own allocator again.

-ken

Reply via email to