Dear sirs:
      I'm using memcache to store millions of key-value pairs.But,when i use
the command "stats cachedump slabid" to dump all the key-value ,it works at
beginning,but that stops after 50,000 pairs dumped.I looked through the
source code (memcache.c,stats.c) ,found this,"unsigned int memlimit = 20 *
1024 * 1024;   /* 2MB max response size */" .So,this causes the result.In
order to dump more,i have to assign more space for the buffer ,set memlimit
for more.But,this way does not come up to expectations.An ideal way is
molloc space dynamically, but i failded to do this .So i write mail for
help~ Thanks a lot.

Sincerely yours (memcache user from China)

Reply via email to