Uploaded image for project: 'Couchbase .NET client library'
  1. Couchbase .NET client library
  2. NCBC-3648

Improve Large Operation Response Memory Handling

    XMLWordPrintable

Details

    • Epic
    • Resolution: Fixed
    • Major
    • 3.5.0
    • 3.4.15
    • library
    • Large Op Memory
    • To Do
    • 0

    Description

      There are currently significant inefficiencies in the handling of memory buffers for large response bodies. When there are many large operations we are seeing significant Large Object Heap (LOH) allocations of byte arrays that are not pooled and reused. Given that the LOH is only garbage collected in Gen2, the cleanup is particularly rare and expensive.

      This problem is most prevalent for operation responses > 1MB, though operation responses > 85KB can see some issues on the LOH. The problem is further exacerbated if a Snappy compression algorithm is wired up to the SDK.

      Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            btburnett3 Brant Burnett
            btburnett3 Brant Burnett
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes

                PagerDuty