Hi, I wrote a simple app in Java to measure the performance of Memcache. For Memcache Service, the maximum size of a cached value is indicated as 1MB in http://code.google.com/appengine/docs/java/memcache/overview.html#Quotas_and_Limits.
But when I try to put a byte array with 2^20 elements, it gives me this exception: com.google.appengine.api.memcache.stdimpl.GCacheException: Policy prevented put operation To make it work I had to take out 50 bytes; in that case I could run it in my local app server. However it still doesn't work for some keys when I deploy it to GAE. For example if I use String key = "1"; it works but if I use int key = 1; it doesn't work and gives me this exception: com.google.appengine.api.memcache.MemcacheServiceException: Memcache put: Error setting single item (1) I am assuming there is a connection between the key and the limit. But I couldn't figure it out. Is there anything that I might be missing? -- You received this message because you are subscribed to the Google Groups "Google App Engine for Java" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/google-appengine-java?hl=en.
