moin icon indicating copy to clipboard operation
moin copied to clipboard

gae: crash due to gae limitation when storing bigger items

Open ThomasWaldmann opened this issue 13 years ago • 1 comments

Original report by Thomas Waldmann (Bitbucket: thomaswaldmann, GitHub: thomaswaldmann).


RequestTooLargeError: The request to API call datastore_v3.Put() was too large.

2.2MB (i wanted to store a jpg photo) is enough to crash it.

looks like the current gae store implementation is a bit too limited for any non-text item usage.

2 things we can do:

  1. maybe somehow catch the exception and tell the user in a nice way that this was bigger than whatever the api allows (find out the limit and tell it).

  2. find a way to store bigger items

ThomasWaldmann avatar Dec 14 '12 00:12 ThomasWaldmann

Original comment by Thomas Waldmann (Bitbucket: thomaswaldmann, GitHub: thomaswaldmann).


https://developers.google.com/appengine/docs/java/datastore/overview#Quotas_and_Limits

ThomasWaldmann avatar Dec 14 '12 22:12 ThomasWaldmann