Skip to content

Track the leaked VM space via the dropped_vm counter. - #1553

Merged
interwq merged 1 commit into
jemalloc:devfrom
interwq:counter
Jul 24, 2019
Merged

interwq merged 1 commit into
jemalloc:devfrom
interwq:counter

Conversation

@interwq

@interwq interwq commented Jul 15, 2019

Copy link
Copy Markdown
Contributor

The counter is 0 unless metadata allocation failed (indicates OOM), and is
mainly for sanity checking.

Tested with local code path emulation and verified that the counter reported properly.

Based on #1552.

@interwq

interwq commented Jul 15, 2019

Copy link
Copy Markdown
Contributor Author

Sampled output under the per arena section --

active:                         36864
mapped:                       2146304
retained:                     2048000
base:                          249232
internal:                           0
metadata_thp:                       0
tcache_bytes:                       0
resident:                      299008
dropped_vm:                         0
extent_avail:                       0

@interwq
interwq force-pushed the counter branch 2 times, most recently from 25077c0 to c811a0d Compare July 16, 2019 19:09
Comment thread src/ctl.c Resolved
The counter is 0 unless metadata allocation failed (indicates OOM), and is
mainly for sanity checking.
@interwq
interwq merged commit 4e36ce3 into jemalloc:dev Jul 24, 2019
@interwq
interwq deleted the counter branch July 24, 2019 18:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants