Could not reserve enough space for object heap

后端 未结 26 1301
余生分开走
余生分开走 2020-11-22 05:59

I am getting the following exception repeatedly each time I try to run the program.

Error occurred during initialization of VM

Could not reserve e

相关标签:
26条回答
  • 2020-11-22 06:59

    Error occurred during initialization of VM Could not reserve enough space for 1572864KB object heap

    I changed value of memory in settings.grade file 1536 to 512 and it helped

    0 讨论(0)
  • 2020-11-22 07:00

    I know there are a lot of answers here already, but none of them helped me. In the end I opened the file /etc/elasticsearch/jvm.options and changed:

    -Xms2G
    -Xmx2G
    

    to

    -Xms256M
    -Xmx256M
    

    That solved it for me. Hopefully this helps someone else here.

    0 讨论(0)
提交回复
热议问题