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

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:

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!!!

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