cancel
Showing results for 
Search instead for 
Did you mean: 

Cant start local SAP HANA cloud runtime

yevgen_trukhin
Advisor
Advisor
0 Kudos

Hello community,

I did helloworld servlet, now I'm trying to run it on local SAP HANA cloud runtime in Eclipse Juno, but i can't start it. Tomcat web server starts without issues. I always get this error:

java version "1.7.0_51"


Java(TM) SE Runtime Environment (build 1.7.0_51-b13)


Java HotSpot(TM) Client VM (build 24.51-b03, mixed mode, sharing)



C:\Users\xxxx\Desktop\Juno Multichannel\workspace\Servers\SAP HANA Cloud Platform local runtime-config>"C:\Program Files (x86)\Java\jre7\bin\java"   "-XX:+HeapDumpOnOutOfMemoryError" "-XX:+DisableExplicitGC" "-Xms512m" "-Xmx1024m" "-XX:PermSize=256M" "-XX:MaxPermSize=256M" "-Dcom.sun.management.jmxremote.port=1717" "-Dcom.sun.management.jmxremote.authenticate=false" "-Dcom.sun.management.jmxremote.ssl=false" "-Dosgi.requiredJavaVersion=1.6" "-Dosgi.install.area=." "-DuseNaming=osgi" "-Dorg.eclipse.equinox.simpleconfigurator.exclusiveInstallation=false" "-Dcom.sap.core.process=ljs_node" "-Declipse.ignoreApp=true" "-Dosgi.noShutdown=true" "-Dosgi.framework.activeThreadType=normal" "-Dosgi.embedded.cleanupOnSave=true" "-Dosgi.usesLimit=30" "-Djava.awt.headless=true" "-Djava.rmi.server.hostname=127.0.0.1"  -jar plugins/org.eclipse.equinox.launcher_1.1.0.v20100507.jar  -console -dev "file:C:/Users/xxx/Desktop/Juno Multichannel/workspace/Servers/SAP HANA Cloud Platform local runtime-config/configuration/dev.properties"


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.

Best Regards, yevgen

Accepted Solutions (1)

Accepted Solutions (1)

Vlado
Advisor
Advisor
0 Kudos

Hi Yevgen,

> Could not reserve enough space for object heap

It seems you are running out of resources on your machine. You can either free up some memory by stopping some processes/programs you don't need, or you can decrease the default memory settings for the local server by editing its launch configuration:

"-Xms512m" "-Xmx1024m" "-XX:PermSize=256M" "-XX:MaxPermSize=256M"

(you can try and divide all values by half).


btw, Eclipse Juno is already deprecated and will not be supported soon, so I recommend that you switch to Kepler asap.


HTH!


--Vlado

Answers (0)