How to increase number of nodes

I am getting out of memory error due to which all my shards are failing. I
need to restart my server every time this error shows up. I tried
increasing the Heap size to 10GB where my total server memory is 16GB is
this a problem.

--
Please update your bookmarks! We have moved to https://discuss.elastic.co/

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 elasticsearch+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/elasticsearch/6a8c68e4-dcc0-4af8-9d05-d87c5636a3bb%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.