Could not reserve enough space for object heap

后端 未结 26 1790
余生分开走
余生分开走 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:33

    I recently faced this issue. I have 3 java applications that start with 1024m or 1280m heap size. Java is looking at the available space in swap, and if there is not enough memory available, the jvm exits.

    To resolve the issue, I had to end several programs that had a large amount of virtual memory allocated.

    I was running on x86-64 linux with a 64-bit jvm.

提交回复
热议问题