Hello beautiful people.
I recently came upon elasticsearch and wanted to try it out and see what the possibilities are. However, sadly enough, I encountered some problems when attempting to install elasticsearch. When i tried to activate the batch file I recieve the following message:
Error occurred during initialization of VM
Could not reserve enough space for 2097152KB object heap
Now I did google a bit before posting here. I have added a _JAVA_OPTIONS file to my system variables. When I added a value of 2g, I was asked for a 3g heap, instead of 3. When I changed the value to 3g, I received the message that 3g was beyond the possible assignment.
This also caused the problem of my IntelliJ not starting up.
Can anyone help me with this problem?