Could not reserve enough space for object heap

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

    I got the same error and resolved this by configuring it in the run.conf.bat

    Run the JVM with the configuring run.conf.bat in Jboss5x

    If free memory is not available AS you are passing in the statement then please make changes in run.conf.bat

    set "JAVA_OPTS=-Xms512m -Xmx512m -XX:MaxPermSize=256m"
    

提交回复
热议问题