Hi,
Thanks for the prompt answer. Is there a specific reason why?
Do the algorithms depend on the size limit?
Thanks
Saptarshi

On Nov 22, 2008, at 1:50 AM, Dustin wrote:



 You can't store an object larger than 1MB in memcached.

On Nov 21, 10:17 pm, Saptarshi Guha <[EMAIL PROTECTED]> wrote:
Hello,
I have an ascii string (called xx) whose length is 1,900,042. The
following does not work
 >> import memcache
 >> len(xx)
1900042
 >> mc = memcache.Client(['127.0.0.1:11211'], debug=0)
 >> mc.set("sss",xx)
0
and mc.get("sss") is None.
Q: Is this a limitation of python-memcache or memcache?
The client machine has 4GB of ram and is not really running anything
else.
I haven't tried cmemcache since it doesn't compile on OS X nor the
other language apis.

Regards
Saptarshi

Saptarshi Guha | [EMAIL PROTECTED] |http://www.stat.purdue.edu/~sguha

Saptarshi Guha | [EMAIL PROTECTED] | http://www.stat.purdue.edu/~sguha


Reply via email to