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

Select from large lob table with embedded gives OutOfMemoryError

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 10.3.1.4, 10.3.2.1, 10.4.1.3
    • Fix Version/s: 10.3.3.0, 10.4.1.3, 10.5.1.1
    • Component/s: SQL
    • Labels:
      None
    • Bug behavior facts:
      Regression

      Description

      Retrieving from a large table with lobs gives an OutOfMemoryException, even if free() is explictly called on the lob. I believe this is because EmbedConnection.addLobMapping is called for every lob creation but is never cleared until commit or rollback, even if the lob is freed.

        Attachments

        1. derby-3354_preview.diff
          3 kB
          Anurag Aggarwal
        2. derby-3354_v1.diff
          5 kB
          Anurag Aggarwal
        3. derby-3354_v2.diff
          5 kB
          Anurag Aggarwal
        4. derby-3354_v3.diff
          5 kB
          Anurag Aggarwal
        5. derby-3354_v4.diff
          5 kB
          Anurag Aggarwal
        6. derby-3354.diff
          0.9 kB
          Oystein Grovlen
        7. LocLeak.java
          1 kB
          Katherine Marsden

          Activity

            People

            • Assignee:
              anurag Anurag Aggarwal
              Reporter:
              kmarsden Katherine Marsden
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: