running elasticsearch on a 2gb digital ocean droplet

So I want to run Elasticsearch on a very limited memory machine and I keep running on this error: cannot allocate memory. Did some research and found this docs on increasing max_map_count: echo "vm.max_map_count=262144" | sudo tee -a /etc/sysctl.conf sudo sysctl -w vm.max_map_count=262144 But the problem still persists, turns out memory still actually still not enough. I want don’t to upgrade the memory since I just want to test things out and I have no plan on running it on production....

July 3, 2017 · 1 min · Zakatell Kanda