Google App Engine Deploy Error[12] Cannot allocate memory

前端 未结 2 417
刺人心
刺人心 2021-01-27 03:59

My Application is running as - Google App Engine Standard Environment : Python 37

I deploy my application using gcloud as following command

gc

2条回答
  •  太阳男子
    2021-01-27 04:15

    The error cannot allocate memory usually appears if the number of files or the size of the content that is being uploaded is too big and the instance used to deploy your code runs out of memory.

    The cause of this error might be the fact that you are using too many dependencies or static files.

    Are you downloading static files ? I see this command tar_runtime_package tar before the error.

    I would suggest to make sure you only use the necessary dependencies or choose to deploy your application on Google Cloud Run.

提交回复
热议问题