Heroku Postgres Out of Memory错误

mdu*_*das 6 ruby heroku rails-postgresql ruby-on-rails-3.2 heroku-postgres


我的Rails应用程序一直运行到今天早上.我尝试重新启动应用程序,这是我在拍到页面之前得到的错误.Postgres连接上的Out of Memory错误!我可以从我的开发机器连接到数据库.我有Heroku Postgres的开发帐户.我也运行了那个SQL语句,它应该只返回1就可以了.

config var DATABASE_URL设置正确.
有任何想法吗?

thx,
亚光

app[web.1]: => Booting WEBrick
app[web.1]: => Rails 3.2.13 application starting in production on http://0.0.0.0:23827
app[web.1]: => Call with -d to detach
app[web.1]: => Ctrl-C to shutdown server
app[web.1]: Exiting
app[web.1]: /app/vendor/bundle/ruby/1.9.1/gems/activerecord-3.2.13/lib/active_record/connection_adapters/postgresql_adapter.rb:1161:in `exec': PG::OutOfMemory: ERROR:  out of memory (ActiveRecord::StatementInvalid)
app[web.1]: DETAIL:  Failed on request of size 96.
app[web.1]: :           SELECT COUNT(*)
app[web.1]:             FROM pg_class c
app[web.1]:             LEFT JOIN pg_namespace n ON n.oid = c.relnamespace
app[web.1]:             WHERE c.relkind in ('v','r')
app[web.1]:             AND c.relname = 'spree_shipments'
app[web.1]:             AND n.nspname = ANY (current_schemas(false))
app[web.1]:     from /app/vendor/bundle/ruby/1.9.1/gems/activerecord-3.2
Run Code Online (Sandbox Code Playgroud)