Couldn't Start Elastic Search on a Remote Machine Windows-32 Bit


(Mike ) #1

Hi-
I wanted to host the Elastic Search on a Windows-7 machine which is installed with 32-bit.
I could able to install the elastic search service, but when I start it, its throwing a error message. I've attached the screenshots below:

I've just noticed the logs, it has updated with "
2017-01-10 07:13:27 Commons Daemon procrun stdout initialized
Error occurred during initialization of VM
Could not reserve enough space for 2097152KB object heap
"

Please let me know, how do I resolve this issue. Thanks !


(Fanfan) #2

how about your machine system resource, CPUs or Memory,. the provided info indicates ES cannot allocate enough heap memory´╝î while the default configuration are -Xms2g -Xmx2g. OR you may change this parameters to smaller.


(Mike ) #3

Hi @wenpos

Thanks for your reply.
I've changed the Java Heap size in (Control Panel-> Programe-> Java) path as the default size and also tried increasing to -Xms512m and also with -Xms3072m, which didn't work out.

Could you please help me out.

My VM Windows Configuration Is:

Windows-7 32 Bit
C: Driver of 80 GB
RAM: 4GB


(Fanfan) #4

@prakash1243 change the ES JVM default configuration -Xms2g -Xmx2g to -Xms1g -Xmx1g ,or more smaller, have a try , the configuration file in $ES_HOME/config/jvm.options


(Mike ) #5

Thank you very much, @wenpos


(system) #6

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