on 04-05-2014 2:04 PM
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
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
86 | |
10 | |
10 | |
9 | |
7 | |
7 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.