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

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

    Details

    • Type: Bug
    • Status: Open
    • Priority: 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.

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                • Created:
                  Updated: