Hello.
I've installed Elasticsearch on web server and it use most part of memory,
I searched and finally found cache module and it's configuration but I
don't know how config Elasticsearch. Where should I insert below
configurations???
@Binh Ly thank you for reply.
I don't know where should I insert this configs.
I've installes FOS-elastica in my project, there is a elasticsearch.yml in
my project and another one is in /etc/elasticsearch. where should I insert
configs?
I've tested server memory usage. Elasticserach service use memory alot.
Thank you
On Wednesday, February 26, 2014 6:29:04 PM UTC+3:30, Binh Ly wrote:
If you simply want to decrease the amount of memory that Elasticsearch is
using, you need to change your heap size (via the HEAP_SIZE environment
variable). That controls the total memory allocated to Elasticsearch.
Echoing what Binh said...try not to change the field-data settings unless
you know what you are doing. You should not enable soft references for
field-data, this is a very bad option. It causes excessive GC thrashing
and is not needed (especially now that 1.0 has circuit breaker logic built
in). Similarly, the time expiration on field-data is typically a poor
option, since it unnecessarily thrashes the GC too.
On Wednesday, February 26, 2014 10:19:40 AM UTC-5, Hediye Delkhosh wrote:
@Binh Ly thank you for reply.
I don't know where should I insert this configs.
I've installes FOS-elastica in my project, there is a elasticsearch.yml in
my project and another one is in /etc/elasticsearch. where should I insert
configs?
I've tested server memory usage. Elasticserach service use memory alot.
Thank you
On Wednesday, February 26, 2014 6:29:04 PM UTC+3:30, Binh Ly wrote:
If you simply want to decrease the amount of memory that Elasticsearch is
using, you need to change your heap size (via the HEAP_SIZE environment
variable). That controls the total memory allocated to Elasticsearch.
Echoing what Binh said...try not to change the field-data settings unless
you know what you are doing. You should not enable soft references for
field-data, this is a very bad option. It causes excessive GC thrashing
and is not needed (especially now that 1.0 has circuit breaker logic built
in). Similarly, the time expiration on field-data is typically a poor
option, since it unnecessarily thrashes the GC too.
On Wednesday, February 26, 2014 10:19:40 AM UTC-5, Hediye Delkhosh wrote:
@Binh Ly thank you for reply.
I don't know where should I insert this configs.
I've installes FOS-elastica in my project, there is a elasticsearch.yml
in my project and another one is in /etc/elasticsearch. where should I
insert configs?
I've tested server memory usage. Elasticserach service use memory alot.
Thank you
On Wednesday, February 26, 2014 6:29:04 PM UTC+3:30, Binh Ly wrote:
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant
logo are trademarks of the
Apache Software Foundation
in the United States and/or other countries.