# Can't get young or surviror max memory with stats/jvm

**URL:** <https://discuss.elastic.co/t/cant-get-young-or-surviror-max-memory-with-stats-jvm/233083>\
**Category:** Elasticsearch\
**Created:** [May 18, 2020, 10:31am UTC](https://discuss.elastic.co/t/cant-get-young-or-surviror-max-memory-with-stats-jvm/233083 "2020-05-18T10:31:22Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![ignacio.rivas](https://avatars.discourse-cdn.com/v4/letter/i/db5fbb/32.png) [@ignacio.rivas](https://discuss.elastic.co/u/ignacio.rivas)\
**Post date:** [May 18, 2020, 10:31am UTC](https://discuss.elastic.co/t/cant-get-young-or-surviror-max-memory-with-stats-jvm/233083/1 "2020-05-18T10:31:22Z")

</div>

Hello,

I had a problem monitoring my cluster with Datadog. The metrics jvm.mem.pools.young.max and jvm.mem.pools.survivor.max return a zero. The metrics for the pool old and the used mem work.

I did check the stats using the API \_nodes/{node\_name}/stats/jvm and the max and peak memory of the pools young and survivors are zero.

```auto
           "pools" : {
                 "young" : {
                   "used_in_bytes" : 49283072,
                   "max_in_bytes" : 0,
                   "peak_used_in_bytes" : 634388480,
                   "peak_max_in_bytes" : 0
                 },
                 "old" : {
                   "used_in_bytes" : 341487616,
                   "max_in_bytes" : 1073741824,
                   "peak_used_in_bytes" : 558934016,
                   "peak_max_in_bytes" : 1073741824
                 },
                 "survivor" : {
                   "used_in_bytes" : 1559376,
                   "max_in_bytes" : 0,
                   "peak_used_in_bytes" : 48765200,
                   "peak_max_in_bytes" : 0
                 }
               }

```

Do you know what could be the cause of this metrics ?

Thanks

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [June 15, 2020, 10:31am UTC](https://discuss.elastic.co/t/cant-get-young-or-surviror-max-memory-with-stats-jvm/233083/2 "2020-06-15T10:31:28Z")

</div>

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.
