Question

What is the cheapest Minimum virtual machine which can install ElasticSearch and Neo4J

Posted March 13, 2020 476 views
Elasticsearch

Hello,

Now I am using a virtual machine in Digital Ocean: 2GB Memory, 1 VCPUS, SSD DISK 50 GB

When I install ElasticSearch and Neo4j, it seems cause errors about weak memory and I can’t install them.

What is the cheapest Minimum virtual machine which can install ElasticSearch and Neo4J both in DigitalOcean for me to upgrade? I just need a server to learn with my project!

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

×
1 answer

Hi there @congtoanle93,

As far as I can see the minimum RAM requirements for Neo4j is 2GB. However, as you have ElasticSearch as well I would recommend starting with 4GB in total, so that you would have enough for both services.

Another thing that you could do is, if you start with 4GB of RAM you could create a 2GB Swap file so that you have some buffer as well. You can take a look at this article here on how to do this:

https://www.digitalocean.com/community/tutorials/how-to-add-swap-space-on-ubuntu-16-04

Hope that this helps!
Regards,
Bobby

by Justin Ellingwood
One of the easiest way of increasing the responsiveness of your server and guarding against out of memory errors in your applications is to add some swap space. In this guide, we will cover how to add a swap file to an Ubuntu 16.04 server. <$>[warning] [label...
Submit an Answer