PG ::错误:错误:Heroku内存不足 [英] PG::Error: ERROR: out of memory on Heroku

查看:114
本文介绍了PG ::错误:错误:Heroku内存不足的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在Heroku上部署了一个应用程序。我使用的是免费服务。

I deployed an application on Heroku. I'm using the free service.

经常发生以下错误:

Quite frequently, I get the following error.

PG::Error: ERROR:  out of memory

如果我刷新浏览器, 没关系。但是,它随机发生。

If I refresh the browser, it's ok. But then, it happens again randomly.

为什么会发生这种情况?

Why does this happen?

谢谢。

Sam Kong

推荐答案

如果您在运行查询时遇到这些问题,效率低下。免费套餐没有缓存,所以你已经在那里。

If you experience these when running queries, your queries are complicated or inefficient. The free tier has no cache, so you're already out there.

如果您在其他情况下遇到这些错误,请打开 https://help.heroku.com

If you're getting these errors otherwise, open a support ticket at https://help.heroku.com

这篇关于PG ::错误:错误:Heroku内存不足的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆