Fragmentation when allocating memory

To reduce fragmentation specially in high-activity code, allocate temporary buffers (buffers that will live only for a short while) from a separate memory pool. The idea is to avoid long-lived buffers and short-lived buffers from being allocated from the same pool.


Leave a Reply

Your email address will not be published. Required fields are marked *