Logstash stops elasticsearch

Perhaps..if you start other processes and then try to start elasticsesrch , on your 8GB host elasticsearch will try to claim 4GB if it is not available it will fail.

Perhaps take a look at this thread very similar