Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

PG::Error: ERROR: out of memory on Heroku

Tags:

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?

Thanks.

Sam Kong

like image 467
Sam Kong Avatar asked Mar 25 '13 17:03

Sam Kong


2 Answers

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.

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

like image 168
catsby Avatar answered Oct 05 '22 22:10

catsby


heroku restart simply helped me though

like image 23
Menan Vadivel Avatar answered Oct 06 '22 00:10

Menan Vadivel