Regarding Memory Allocation

Ajinkya Nahar ajinkya at truesparrow.com
Thu Aug 30 08:35:29 UTC 2007


Thanks.

-----Original Message-----
From: dormando [mailto:dormando at rydia.net] 
Sent: Thursday, August 30, 2007 2:03 PM
To: Ajinkya Nahar
Cc: memcached at lists.danga.com
Subject: Re: Regarding Memory Allocation

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