Uploaded image for project: 'Derby'
  1. Derby
  2. DERBY-3791

Excessive memory usage when fetching small Clobs

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 10.2.2.0, 10.3.1.4, 10.4.1.3, 10.5.1.1
    • Fix Version/s: 10.4.2.0, 10.5.1.1
    • Component/s: JDBC
    • Labels:
      None
    • Bug behavior facts:
      Performance, Regression

      Description

      When investigating DERBY-3312 I found out that performance with the embedded driver has decreased a lot as well.
      Analysis on trunk indicate excessive memory usage, causing high allocation and garbage collection costs.

      I believe there was another major performance problem in 10.3, but it appears fixed in trunk. I have not spent time identifying this problem.

        Attachments

        1. derby-3791-2a-buffer-adjustments.diff
          4 kB
          Kristian Waagan
        2. derby-3791-1a-buffer_fix.diff
          3 kB
          Kristian Waagan

          Issue Links

            Activity

              People

              • Assignee:
                kristwaa Kristian Waagan
                Reporter:
                kristwaa Kristian Waagan
              • Votes:
                0 Vote for this issue
                Watchers:
                0 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: