Uploaded image for project: 'Commons DBCP'
  1. Commons DBCP
  2. DBCP-536

More than 5k+ instances of PgConnection created

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Abandoned
    • 2.0.1
    • None
    • None
    • Important

    Description

      Hi,

       

      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.

       

      Regards,

      Rahil

      Attachments

        Activity

          People

            Unassigned Unassigned
            rahil Rahil S
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: