# JVM Heap Size settings defined are not the same as I can see now

**URL:** <https://discuss.elastic.co/t/jvm-heap-size-settings-defined-are-not-the-same-as-i-can-see-now/241160>\
**Category:** Elasticsearch\
**Created:** [July 14, 2020, 3:52pm UTC](https://discuss.elastic.co/t/jvm-heap-size-settings-defined-are-not-the-same-as-i-can-see-now/241160 "2020-07-14T15:52:36Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![jelocabral](https://avatars.discourse-cdn.com/v4/letter/j/e0b2c6/32.png) [@jelocabral](https://discuss.elastic.co/u/jelocabral)\
**Post date:** [July 14, 2020, 3:52pm UTC](https://discuss.elastic.co/t/jvm-heap-size-settings-defined-are-not-the-same-as-i-can-see-now/241160/1 "2020-07-14T15:52:37Z")

</div>

Dear people, I have an ELK 7.8.0 server with 60GB RAM. It is a Debian 10 server and the ELK packages were installed by apt (DEB packages).

I've setup the JVM heap size in:

/etc/elasticsearch/jvm.options:

-Xms30g  
-Xmx30g

I restart my server and run "htop" command, and now I can see:

 ![image](https://us1.discourse-cdn.com/elastic/original/3X/9/d/9daf646b2971b405d558015e951ab8a147a0d5c1.png)

I see:

/bin/java -Xms2g -Xmx2g

And this is not what I setup:

-Xms30g  
-Xmx30g

I don't know if it's relevant, but in /etc/default/elasticsearch I have:

# Elasticsearch Java path

#JAVA\_HOME=

By dedfault the JAVA\_HOME variable is empty.

Please can you help me?

Thanks a lot in advance!!!

---

<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:** [August 11, 2020, 3:52pm UTC](https://discuss.elastic.co/t/jvm-heap-size-settings-defined-are-not-the-same-as-i-can-see-now/241160/2 "2020-08-11T15:52:53Z")

</div>

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