# How to check ES\_HEAP\_SIZE

**URL:** https://discuss.elastic.co/t/how-to-check-es-heap-size/36613
**Category:** Elasticsearch
**Created:** [December 8, 2015, 9:07am UTC](https://discuss.elastic.co/t/how-to-check-es-heap-size/36613 "2015-12-08T09:07:07Z")
**Posts on this page:** 1
**Showing post:** 5

<div class="post-metadata">

### Author: ![magnusbaeck](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/magnusbaeck/32/44943_2.png) [@magnusbaeck](https://discuss.elastic.co/u/magnusbaeck)
#### Post date: [December 8, 2015, 9:40am UTC](https://discuss.elastic.co/t/how-to-check-es-heap-size/36613/5 "2015-12-08T09:40:53Z")

</div>

> I tried to setting ES\_HEAP\_SIZE to 1024m on my linux server. I used this setting \> export ES\_HEAP\_SIZE=1024m. Now how to check if this new setting is work??

Look at the resulting JVM process when you start ES, specifically the -Xmx option.

If you're starting ES as a service (which you should be doing) you should probably be modifying /etc/sysconfig/elasticsearch or /etc/default/elasticsearch instead.

---

_[View the full topic](https://discuss.elastic.co/t/how-to-check-es-heap-size/36613)._
