Elasticsearch 5.1 on AWS ubuntu image

Elasticsearch DB has stoped working after it was upgraded to version 5.
I am working on a AWS ubuntu image environment. and while I was running on version 2.3 it all was perfect . When I tried to upgrade to version 5 it suddenly could not run any longer because of java memory issues.

Has any one shared the same problem? what was the solution?

What is the problem?
I mean: did you look at your logs?

here is the error:

OpenJDK 64-Bit Server VM warning: INFO: os::commit_memory(0x0000000085330000, 2060255232, 0) failed; error='Cannot allocate memory' (errno=12)

There is insufficient memory for the Java Runtime Environment to continue.
Native memory allocation (mmap) failed to map 2060255232 bytes for committing reserved memory.

So you don't have 2gb of free RAM on your machine apparently?

I see what you're saying.

However, how come it worked fine before the upgrade? was there new system requirements for the new version compare to previous ones?

Yes. I think the default values are now 2gb

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.