Uploaded image for project: 'Couchbase Server'
  1. Couchbase Server
  2. MB-39751

Memory growth when processing many metadata operations

    XMLWordPrintable

Details

    • Untriaged
    • 1
    • No

    Description

      There is growth of jemalloc resident memory when indexer performs many metadata operations. Steps to reproduce:

      1. setup 1 node cluster with kv+n1ql+index with MOI and large memory quota.
      2. create 30 indexes with defer build (no need to build indexes).
      3. delete 30 indexes.

      After repeating steps (2) and (3) ~50 times, jemalloc resident memory reaches ~220MB. The attached jemalloc profile (jemalloc-101.prof.svg) shows that most of the memory is allocated by fdb_iterator_init() and fdb_snapshot_open().

      Attachments

        Issue Links

          Activity

            People

              bhargava.yadavalli Bhargava Yadavalli (Inactive)
              akhil.mundroy Akhil Mundroy
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                PagerDuty