The 1MB hard limit in Google App Engine
There isn't much documentation on what exactly is affected by the 1MB limit in Google App Engine so here's my effort at documenting this based on my empirical findings:
- You cannot have a data structure (e.g., variable) larger than 1MB in size or you'll get a MemoryError.
- You cannot return a response that is larger than 1MB in size or you'll get an error similar to: HTTP response was too large: 3457738. The limit is: 1048576. (I got that error when trying to circumvent the 1MB MemoryError issue by returning a generator for my HttpResponse).
- Model instances cannot be larger than 1MB in size or you'll get a RequestTooLarge error.
Comments
by Sebastiaan on 2008-08-04 10:29:31
by Mark on 2008-08-04 18:04:47
by Aral on 2008-08-05 19:57:43
by Prateek on 2008-08-07 21:09:32
by Andrew Faulds on 2008-11-22 16:27:31
by Aral on 2008-08-05 19:59:08
by Andreas K on 2009-06-03 12:44:25
by wojciechka on 2010-11-30 11:16:28