Regarding Memory Allocation

dormando dormando at rydia.net
Thu Aug 30 08:33:21 UTC 2007


Ajinkya Nahar wrote:
> Hi all,
> 
>  
> 
> What is the default memory allocation technique in memcached?
> 

I updated the FAQ entry to be a little more clear.

- The default is the slab allocator.
- The 'USE_SYSTEM_MALLOC' define is what you have to set in order to 
short circuit the slab allocator. It's in slabs.c if you want to take a 
look.

-Dormando


More information about the memcached mailing list