Datastore 'Response too large error' since switching to Python27

I just migrated my GAE / python application from M / S to HRD and then activated the new python27 runtime. Now most of my storage requests do not work with this error:

ResponseTooLargeError: The response from the datastore_v3.RunQuery () API call was too large.

The same code still works in older GAE applications (M / S and python25) without any problems. What's happening? Is it because of the new runtime or because of HRD? Should I change my models / application to make the request smaller?

Thanks!

+4
source share
1 answer

This is a known bug in the Python 2.7 runtime - if the result of a data warehouse query is> 1 MB, you will get this answer.

It will be fixed in 1.6.1.

+3
source

Source: https://habr.com/ru/post/1379831/


All Articles