My Application is running as - Google App Engine Standard Environment : Python 37
I deploy my application using gcloud as following command
gc
You can try increasing the memory allocation?
resources: disk_size_gb: 10