# Monitor.jvm WARN message?

**URL:** <https://discuss.elastic.co/t/monitor-jvm-warn-message/59404>\
**Category:** Elasticsearch\
**Created:** [August 31, 2016, 9:01am UTC](https://discuss.elastic.co/t/monitor-jvm-warn-message/59404 "2016-08-31T09:01:14Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![sunilmchaudhari](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/sunilmchaudhari/32/9475_2.png) [@sunilmchaudhari](https://discuss.elastic.co/u/sunilmchaudhari)\
**Post date:** [August 31, 2016, 9:01am UTC](https://discuss.elastic.co/t/monitor-jvm-warn-message/59404/1 "2016-08-31T09:01:14Z")

</div>

Hi,  
can anybody please explain me the meaning of this WARN message. The problem is, ES cluster is not allocating any shards.

```
[2016-08-31 11:51:46,993][WARN][monitor.jvm] [sit-master-data-node-0] [gc][young][257][54] duration [4.2s], collections [1]/[4.7s], total [4.2s]/[3.1m], memory [530mb]->[415.7mb]/[5.9gb], all_pools {[young] [128mb]->[996.6kb]/[133.1mb]}{[survivor] [16.6mb]->[16.6mb]/[16.6mb]}{[old] [385.4mb]->[398.1mb]/[5.8gb]}

```

1. What measures I have to take so that the situation will not repeat again. I have allocated 6 GB to ES out of 16 GB. Cant allocate more than 6 GB.
2. Do I need to delete or close old indexes?
3. How to decide or who decides that shards will be push from new generation to old generation?

br,  
Sunil

---

<div class="post-metadata">

**Author:** ![sunilmchaudhari](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/sunilmchaudhari/32/9475_2.png) [@sunilmchaudhari](https://discuss.elastic.co/u/sunilmchaudhari)\
**Post date:** [August 31, 2016, 9:07am UTC](https://discuss.elastic.co/t/monitor-jvm-warn-message/59404/2 "2016-08-31T09:07:31Z")

</div>

I think,  
When I start ES cluster, whole 3.1 GB data in the cluster gets loaded in memory, that's why its RED in the beginning and slowly changes through YELLOW and then GREEN.  
Am I correct?

---

<div class="post-metadata">

**Author:** ![warkolm](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/warkolm/32/39224_2.png) [@warkolm](https://discuss.elastic.co/u/warkolm)\
**Post date:** [August 31, 2016, 9:28am UTC](https://discuss.elastic.co/t/monitor-jvm-warn-message/59404/3 "2016-08-31T09:28:29Z")

</div>

That's garbage collection, it's expected.

> [@sunilmchaudhari](#):
>
> I think,When I start ES cluster, whole 3.1 GB data in the cluster gets loaded in memory, that's why its RED in the beginning and slowly changes through YELLOW and then GREEN.Am I correct?

No, the data is not loaded into memory.

---

<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:** [July 5, 2017, 10:23pm UTC](https://discuss.elastic.co/t/monitor-jvm-warn-message/59404/4 "2017-07-05T22:23:42Z")

</div>


