elasticsearch


How to configure elasticsearch for low memory usage?


I have a Elasticsearch with little data, imagine a few dozen of indices, but at total there is just something about 5MB of data. How can I configure it so it uses the least amount of memory possible?
In old versions of Elasticsearch (1.x) I could configure the heap to be reasonable low. But with version 5.1, I eventually get OutOfMemoryError when configuring heap to 300MB, and it works configuring it to 400MB.
I would like to configure it to a much lower heap, for example, 50MB, since there is not much data on it. The lower the better. Are there any tweaks that can be done so it can run with lower memory without crashing, even if it performs slower?

Related Links

how to copy ElasticSearch field to another field
ElasticSearch Order after 2 term aggregation
Mapping openNLP or StanfordNLP in elasticsearch
An Elasticsearch filter to determine the absence of a value
Different behaviour in elasticsearch with two different indexes
Elasticsearch 2.0: _id is not configurable
what will happen when one of ElasticSearch server down
How to get the total size of data matching query ElasticSearch?
Which is Better when you use Java to query in Elastic Search, Java API or passing the JSON string to setQuery?
ElasticSearch 2.0 Java API: java.lang.ClassNotFoundException: org.elasticsearch.common.settings.ImmutableSettings$Builder
Kibana + Logstash + Elastic group exceptions by stacktrace
Index document maintaining spaces between words in elasticsearch
Elasticsearch “strict” mapping not working for fields with null values
Elasticsearch aggregation over timestamp
show all buckets from aggregation within a single _type where one index contains multiple _type with same field names
Elasticsearch boost and order alphabetically

Categories

HOME
matrix
tomcat
schema.org
long-integer
typeerror
lvm
gentelella
greasemonkey
swift2
navigation
fasm
createjs
stimulsoft
corona
pywinauto
c#-7.0
robolectric
xsl-fo
jest
node-webkit
tableview
generator
rxjs5
marquee
ccavenue
spring-annotations
monitor
es6-modules
mapnik
publishing
snap-framework
rust-cargo
payeezy
subclassing
love2d
ms-solver-foundation
mars-simulator
windows-store
fiware-wirecloud
1wire
httphandler
docker-ucp
qvtkwidget
rm
entropy
simple-schema
mechanicalturk
google-shopping-api
gapi
mifos
rational-performance-test
mathjs
decoder
maven-release-plugin
gravatar
i2b2
wif4.5
ioctl
opencyc
wso2ml
algebraixlib
sablecc
fasterxml
igor
coding-efficiency
windows-messages
neo4jphp
bittorrent-sync
ivalueconverter
cpu-time
roxy-fileman
code39
autonumber
facebook-game-groups
ggts
infinite
apache-shindig
codahale-metrics
ntlmv2
smartfox
struts2-s2hibernate
tablet-pc
css-friendly
android-input-method
j2mepolish
principles
motif

Resources

Encrypt Message