我已经在Google App Engine上创建了一个处理图像的网络应用。该应用程序在本地运行良好,响应速度也非常快。但是在应用引擎上,它运行缓慢,并且经常因以下错误而崩溃。
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 application or may be using an instance with insufficient memory. Consider setting a larger instance class in app.yaml.
在阅读中,我看到了一些有关升级实例的建议,已经这样做了,已经升级了instance_class: F2
,但仍然没有成功。我的本地笔记本电脑可以做得更好。为什么?我该如何解决?请帮忙。
答案 0 :(得分:1)