Jaffer Wilson
Jaffer Wilson

Reputation: 7273

Why WSO2 DSS server is not getting started?

I am trying to run my WSO2 DSS server, but whatever I do I am getting the same error:

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.

Here is the link to my WSO2Server.bat: https://gist.github.com/anonymous/c9c107245c763637a4f182b7f2e3e867

Kindly let me know what I need to do inorder to run my WSO2 DSS successfully.
Ram of my system: 8GB. and using Windows 10.

Upvotes: 0

Views: 402

Answers (1)

Philippe Sevestre
Philippe Sevestre

Reputation: 974

Your JAVA_HOME environment variable is pointing to a 32-bit JVM, which does not support the default 2GB heap that is defined in wso2server.bat.

Please adjust your enviroment and/or define it explicitly in your wso2server.bat

Upvotes: 1

Related Questions