SERVER_ERROR out of memory on small puts to memcache.
Eric Hodel
drbrain at segment7.net
Tue Oct 9 21:05:36 UTC 2007
On Oct 9, 2007, at 11:59 , Matt Knox wrote:
> I consistently get an out of memory error when performing < 44
> byte (key+data) puts to memcache, but when 'put'-ing the same key
> with data that is long enough to exceed 44 chars key + data , I
> succeed. I observe this behavior using both the ruby client
> (memcache-client 1.5) and the python one (python-memcached),
> although the python client seems to break at 59 chars, rather than 44.
memcache-client's default mode of operation is to Marshal the values
you're storing in memcached. For a String this is 4 bytes of overhead.
--
Poor workers blame their tools. Good workers build better tools. The
best workers get their tools to do the work for them. -- Syndicate Wars
More information about the memcached
mailing list