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

When receiving EXTDTA object, the client should avoid keeping the entire LOB in memory for large LOBs

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 10.1.3.1
    • 10.3.3.1
    • Network Client
    • None

    Description

      When a LOB is streamed from the Server to the Client, the Client reads all the data from the stream into a byte array. This can cause OutOfMemoryError if the LOB is large > than total memory in the VM.

      To avoid this problem, instead of reading the streamed data into a byte array, the Client could read the data into a stream which will keep the data in memory when possible and store the data on disk when there is not enough memory. This stream could be based on the implementation suggested in DERBY-1341.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              fernanda Fernanda Pizzorno
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: