我正在尝试运行我的WSO2 DSS服务器,但无论我做什么,我都会遇到同样的错误:
JAVA_HOME environment variable is set to C:\Program Files (x86)\Java\jdk1.7.0_09
CARBON_HOME environment variable is set to C:\WSO2DS~1.1\bin\..
Error occurred during initialization of VM
Could not reserve enough space for object heap
Error: Could not create the Java Virtual Machine.
Error: A fatal exception has occurred. Program will exit.
以下是我的WSO2Server.bat
:https://gist.github.com/anonymous/c9c107245c763637a4f182b7f2e3e867
请告诉我,为了成功运行我的WSO2 DSS,我需要做些什么 我系统的Ram:8GB。并使用Windows 10。
答案 0 :(得分:1)
您的JAVA_HOME环境变量指向32位JVM,它不支持wso2server.bat中定义的默认2GB堆。
请调整您的环境和/或在wso2server.bat中明确定义