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

Select from large lob table with embedded gives OutOfMemoryError

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 10.3.1.4, 10.3.2.1, 10.4.1.3
    • 10.3.3.0, 10.4.1.3, 10.5.1.1
    • SQL
    • None
    • 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. LocLeak.java
          1 kB
          Katherine Marsden
        2. derby-3354.diff
          0.9 kB
          Oystein Grovlen
        3. derby-3354_v4.diff
          5 kB
          Anurag Aggarwal
        4. derby-3354_v3.diff
          5 kB
          Anurag Aggarwal
        5. derby-3354_v2.diff
          5 kB
          Anurag Aggarwal
        6. derby-3354_v1.diff
          5 kB
          Anurag Aggarwal
        7. derby-3354_preview.diff
          3 kB
          Anurag Aggarwal

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: