Friday, February 26, 2010

Can not start Jdeveloper : Unable to create instance of Java Virtual Machine

I had not thought that Jdeveloper 10g may throw some error depending on my disk space even. When I tried to restart my Jdeveloper, it popped up an error message to me as shown below. 

When Jdeveloper starts it tried to allocate some some heap size from the disk space. If that space is not avilable this error is popped up.

The same can be easily resolved by changing the AddVMOption parameter value to the desired value.

Location : JDEV_HOME\jdev\bin\jdev.conf
Parameter : AddVMOption
Value : <Any valid disk space value in MB>

# Set the maximum heap to 512M
AddVMOption -Xmx1024M

If you have lot of available disk space it is better to have this heap size around 1024 MB to accelerate the context switching of Jdeveloper.


  1. It is very useful. Thanks for sharing.

  2. It is not working for me
    Do I need to restart the machine.