How to increase the maximum cached object size in memcached?

Chris Dent cdent at burningchrome.com
Tue Mar 6 21:14:18 UTC 2007


On Tue, 6 Mar 2007, Wes Gamble wrote:

 > I just discovered that the maximum size of an object that can be stored in
 > memcached is 1 MB.  How can this be increased?

For the 1.1.* versions the patch described here has worked for us:

  http://lists.danga.com/pipermail/memcached/2006-March/002058.html

It's not clear what the solution is in the new 1.2 stuff, haven't had a
chance to investigate yet. Other folk?

While having large object storage has worked well for us it sort of
seems a bit stinky to me: it makes me think we've got a problem
somewhere else. That we probably want something that is an iterator
rather than a list, but it's been a good stopgap in our testing.

Is this the Wes that used to work at Kiva long ago and far away?

-- 
Chris Dent                      http://burningchrome.com/~cdent/mt
                              [...]


More information about the memcached mailing list