Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
6.5.0, Cheshire-Cat, 6.0.4
-
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
Field | Original Value | New Value |
---|---|---|
Link | This issue is triggered by CBSE-8408 [ CBSE-8408 ] |
Labels | forestDB | forestDB sec |
Labels | forestDB sec | forestDB |
Labels | forestDB | forestDB secondary-index |
Resolution | Fixed [ 1 ] | |
Status | Open [ 1 ] | Resolved [ 5 ] |
Assignee | Srinath Duvuru [ srinath.duvuru ] | Ritam Sharma [ ritam.sharma ] |
Assignee | Ritam Sharma [ ritam.sharma ] | Mihir Kamdar [ mihir.kamdar ] |
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()}}. |
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()}}. |
Attachment | idx_insertion_deletion_6.6.1-9126 .log [ 112564 ] | |
Attachment | idx_insertion_deletion_6.6.0-7909.log [ 112565 ] |
Assignee | Mihir Kamdar [ mihir.kamdar ] | Bhargava Yadavalli [ JIRAUSER25133 ] |
Status | Resolved [ 5 ] | Closed [ 6 ] |
Attachment | test [ 112566 ] |
Attachment | idx_insertion_deletion_6.6.0-7909.log [ 112565 ] |
Attachment | idx_insertion_deletion_6.6.1-9126 .log [ 112564 ] |
Attachment | test [ 112566 ] |
Fix Version/s | 7.0.0 [ 17233 ] |
Fix Version/s | Cheshire-Cat [ 15915 ] |
Build couchbase-server-7.0.0-2458 contains gometa commit d8b06db with commit message:
MB-39751: Memory growth when processing many metadata operations