我将 GAE 用于需要大量内存的繁重任务。我收到以下错误:
Exceeded soft memory limit of 512 MB with 561 MB
after servicing 3 requests total.
Consider setting a larger instance class in app.yaml.
Run Code Online (Sandbox Code Playgroud)
由于任务很昂贵,我假设两个应用程序可以在一个实例中工作。但它不适用于三个应用程序:
While handling this request,
the process that handled this request was found to be using
too much memory and was terminated.
This is likely to cause a new process to be used
for the next request to your application.
If you see this message frequently,
you may have a memory leak in your …Run Code Online (Sandbox Code Playgroud) 我正在将firebase云功能与云功能上的javascript一起使用。而且,我想从javascript切换到打字稿。
但是,由于以下命令失败,因此无法在打字稿上使用firebase-admin。
command: npm install @types/firebase-admin --save-dev
error: '@types/firebase-admin' is not in the npm registry.
Run Code Online (Sandbox Code Playgroud)
根据此发行说明,firebase管理员支持打字稿。有人可以告诉我们如何在云功能上将typescript与firebase-admin一起使用吗?
https://firebase.google.com/support/release-notes/admin/node#4.1.3