You might want to look at/star 
http://code.google.com/p/googleappengine/issues/detail?id=1084
.

On Oct 29, 10:52 am, jago <java.j...@gmail.com> wrote:
> How can I best prevent against the following error? Can I check the
> length of items before putting them in the memcache?
>
>   File "/base/python_lib/versions/1/google/appengine/api/memcache/
> __init__.py", line 635, in _set_with_policy
>     stored_value, flags = _validate_encode_value(value,
> self._do_pickle)
>   File "/base/python_lib/versions/1/google/appengine/api/memcache/
> __init__.py", line 180, in _validate_encode_value
>     'received %d bytes' % (MAX_VALUE_SIZE, len(stored_value)))
> ValueError: Values may not be more than 1000000 bytes in length;
> received 1861357 bytes
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To post to this group, send email to google-appengine@googlegroups.com
To unsubscribe from this group, send email to 
google-appengine+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to