cancel
Showing results for 
Search instead for 
Did you mean: 

Unable to Open the Studio..getting JVM Error

Former Member
0 Kudos

Hi Frzz,

Am unable to start the HANA Studio. When i start it am getting an error "Could not create Java Virtual Machine". Error Screenshot attached.

I have already installed latest version of JVM and JDK.

Can some one help to resolve this issue.

Best Regards,

Krishna.

Accepted Solutions (1)

Accepted Solutions (1)

vivekbhoj
Active Contributor
0 Kudos

Hi Bala,

You can try updating your JRE version.

Or in file hdbstudio.ini change that argument :

from

-Xmx1024m

to

-Xmx512m

You can refer these threads for the same:

http://scn.sap.com/thread/3290623

http://scn.sap.com/thread/3211105

http://www.saphana.com/thread/2663

Former Member
0 Kudos

Dear Vivek,

Thanks a lot for your quick response. It's worked....But my doubt is what is this argument and for what purpose we use this argument????Can you please explain in more detail.

Thanks in advance.

Best Regards,

Krishna.

Former Member
0 Kudos

Hi Krishna,

As you know, the HANA studio is based on eclipse platform, however eclipse is based on java language development, so these arguments are setting for JVM of java.

Please refer to below link for arguments define of JVM.

http://docs.oracle.com/cd/E22289_01/html/821-1274/configuring-the-default-jvm-and-java-arguments.htm...

Hope this can help you.

Regards,

Jerry

deepak_chodha
Explorer
0 Kudos

Hi Krishna,

HANA Studio is an eclipse application and an 'Eclipse' startup is controlled by the options in $ECLIPSE_HOME/eclipse.ini. In case of HANA Studio it is controlled by hdbstudio.ini.

hdbstudio.ini is a text file containing command-line options that are added to the command line used when Eclipse is started up. There are many options available, please see here.

By default, hdbstudio.ini looks something like this (the exact contents will vary based on operating system and which HANA Studio package you have):

-startup

plugins/org.eclipse.equinox.launcher_1.3.0.v20120522-1813.jar

--launcher.library

plugins/org.eclipse.equinox.launcher.win32.win32.x86_64_1.1.200.v20120913-144807

--launcher.XXMaxPermSize

512m

--launcher.defaultAction

openFile

-vm

C:\Program Files\sapjvm\sapjvm_7\jre\bin\javaw.exe

-vmargs

-Xmx1024m

-Dfile.encoding=UTF-8

-Xms256m

-XX:MaxPermSize=512m

-XX:+HeapDumpOnOutOfMemoryError

The parameters which you are interested in:

Xms: this sets the heap space to 40MB initially

Xmx: this sets the heap space to a maximum of 512MB

Let me know if you have any other query.

HAPPY HANA

Deepak Chodha.

Answers (2)

Answers (2)

AtulKumarJain
Active Contributor
0 Kudos

Hi Bala,

If from java end everything is fine please upgrade the HANA studio.

BR

Atul

Former Member
0 Kudos

Dear Atul,

Thanks for your reply. After changing the value to 512M, -Xmx=512m, am able to access the Stuido.

Thank you,

Krishna.

Former Member
0 Kudos

Hi Bala,

Please update max jvm value to 512M, -Xmx=512m.

Regards,

Jerry

Former Member
0 Kudos

Dear Jerry,

Thanks for your reply. After changing the value to 512M, -Xmx=512m, am able to access the Stuido.

Thank you,

Krishna.