In addition to the limit of '123' (no more than 1000 records can be returned for query), we found that gae has a limit of '1m.
I encountered a memoryerror when using memcache to cache a large list. The error message indicates that a cached item cannot exceed bytes. I ran to the group and asked. aral also encountered the same problem. in addition to memcache, Gae has a 1 m limitation in many places (the following is translated from the Aral blog ):
- A Data Structure cannot exceed 1 m; otherwise, a memoryerror is thrown.
- Response cannot return content larger than 1 MB; otherwise, an exception will be thrown: 'ttp response was too large'
- A model instance (equivalent to a database record) cannot exceed 1 MB; otherwise, a requesttoolarge exception will occur. (I have encountered this exception)
Prateek added a limit of 1 MB for the image API in the reply; Google may not wantProgramMember BTCodeDrag the server down. from.. Net GC running principle also understand that frequent creation of large objects with a short life cycle will affect program performance. in. net, the standard is 85000 bytes. objects larger than this standard are allocated in a dedicated heap and are regarded as the second generation. therefore, either the memory is not recycled, or the second generation of objects are frequently collected.
Welcome to talk with me about the development of Google App Engine. Welcome to my development of the first Gae app look: http://feedzshare.appspot.com