[jira] [Created] (DBCP-536) More than 5k+ instances of PgConnection created
Rahil S created DBCP-536:
Summary: More than 5k+ instances of PgConnection created
URL: https://issues.apache.org/jira/browse/DBCP-536 Project: Commons DBCP
Issue Type: Bug
Affects Versions: 2.0.1
Reporter: Rahil S
Attachments: Screenshot 2019-02-09 at 3.39.35 PM.jpg, Screenshot 2019-02-09 at 3.41.20 PM.jpg
We are facing memory issues with DBCP2 in production. We are using the 2.0.1 version of dbcp2. By analyzing heap dump we noticed that 5k+ instances of PgConnection were created. I have attached the screenshot of the same.
We have set setMaxTotal(pool size) to 40 and initializing two BasicDatasource Objects for two different data source.
This message was sent by Atlassian JIRA