Server-Side Connection Pooling for Heroku Postgres | Heroku Dev Center

Connection Pooling for Heroku Postgres allows applications to make more effective use of database connections. This allows multiple dynos to share a transaction pool to help avoid connection limits and Out of Memory errors on Heroku Postgres servers.