为什么WSO2 DSS服务器没有入门?

时间:2017-04-12 06:55:09

标签: wso2 wso2dss

我正在尝试运行我的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.bathttps://gist.github.com/anonymous/c9c107245c763637a4f182b7f2e3e867

的链接

请告诉我,为了成功运行我的WSO2 DSS,我需要做些什么 我系统的Ram:8GB。并使用Windows 10。

1 个答案:

答案 0 :(得分:1)

您的JAVA_HOME环境变量指向32位JVM,它不支持wso2server.bat中定义的默认2GB堆。

请调整您的环境和/或在wso2server.bat中明确定义