Hi,

I have an ES cluster running on Ubuntu 14 and created a file in 
/etc/profile.d/es_vars.sh with this content:

export ES_HEAP_SIZE=7g

I have 14GB of memory so giving 7GB to ES heap but I can see in ps aux:

...
elastic+  1474 17.0  2.2 5929120 325284 ?      Sl   22:33   0:38 
/usr/lib/jvm/java-7-oracle/bin/java *-Xms256m -Xmx1g* -Xss256k 
-Djava.awt.headless=true -XX:+UseParNewGC -
...

So it seems it is still running with Xms 256MB and Xmx of 1GB. I also once 
got *memory circuit breaker* for using 600MB RAM for fields so *confirming 
that my Max memory is only 1GB*.

I am sure environment variable is there:

$ES_HEAP_SIZE
$7g

Is there something I am missing?

Thanks in advance

-- 
You received this message because you are subscribed to the Google Groups 
"elasticsearch" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/elasticsearch/6105e526-f399-4324-8d15-843eb4881c39%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to