Derby
  1. Derby
  2. DERBY-4130

Using large stream with 'values cast(? as clob)' causes OutOfMemoryError

    Details

    • Type: Bug Bug
    • Status: Open
    • Priority: Major Major
    • Resolution: Unresolved
    • Affects Version/s: 10.6.1.0
    • Fix Version/s: None
    • Component/s: Store
    • Urgency:
      Normal
    • Issue & fix info:
      Repro attached
    • Bug behavior facts:
      Crash

      Description

      Inserting a stream though a values clause and casting the value to a Clob causes the stream to be materialized in memory.
      If the stream is sufficiently large, this will result in an OutOfMemoryError.

        Issue Links

          Activity

          Kristian Waagan created issue -
          Kristian Waagan made changes -
          Field Original Value New Value
          Attachment ClobInValuesClauseOOME.java [ 12404128 ]
          Kristian Waagan made changes -
          Link This issue relates to DERBY-4102 [ DERBY-4102 ]
          Rick Hillegas made changes -
          Bug behavior facts [Crash]
          Urgency Normal
          Dag H. Wanvik made changes -
          Issue & fix info [Repro attached]
          Kristian Waagan made changes -
          Labels CLOB
          Kathey Marsden made changes -
          Labels CLOB derby_triage10_5_2
          Gavin made changes -
          Workflow jira [ 12459443 ] Default workflow, editable Closed status [ 12799535 ]

            People

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

              Dates

              • Created:
                Updated:

                Development