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

ResponseStatusExtensions.SubDocPathException does not dispose of the IMemoryOwner

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Minor
    • 3.4.7
    • 3.4.5
    • library
    • None
    • 0

    Description

      When IOperation.ExtractBody is called it should always dispose of the returned IMemoryOwner, generally with a using statement. Failure to do so will cause the buffer to be garbage collected rather than returned to the ArrayPool. This, in turn, can lead to memory holes and decreased GC efficiency.

      Attachments

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

        Activity

          People

            jmorris Jeff Morris
            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