ltcmelo
November 10th, 2006, 05:43 AM
Hi all.
I'd like to implement my own memory management system.
My application allocates/deallocates small pieces of memory during its run. The idea is to make most of the allocation at once in the beginning (and allocates more whenever it's necessary), and deallocate to a pool, instead of returning it to the O.S. So, whenever I need more memory, I could get from this pool.
This will be used for STL containers, which means I'm going to have to implement my own allocators too.
I've found very scattered information about this on the web. Can anyone give a nice reference on this topic?
Thanks.
I'd like to implement my own memory management system.
My application allocates/deallocates small pieces of memory during its run. The idea is to make most of the allocation at once in the beginning (and allocates more whenever it's necessary), and deallocate to a pool, instead of returning it to the O.S. So, whenever I need more memory, I could get from this pool.
This will be used for STL containers, which means I'm going to have to implement my own allocators too.
I've found very scattered information about this on the web. Can anyone give a nice reference on this topic?
Thanks.