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

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

Attach filesAttach ScreenshotAdd voteVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • 10.6.1.0
    • None
    • Store
    • Normal
    • Repro attached
    • 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

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            Unassigned Unassigned
            kristwaa Kristian Waagan

            Dates

              Created:
              Updated:

              Slack

                Issue deployment