Search code examples
jdeveloper

JDeveloper: Could not reserve enough space for object heap


Hi i am encountering the following error when deploying an project from my jdeveloper studio.

 [scac] Error occurred during initialization of VM
 [scac] Could not reserve enough space for object heap

Can anyone advise on how to resolve this issue?


Solution

  • In case you have enough free RAM on your computer:

    go to jdev.conf file (~/Oracle/middleware/jdeveloper/jdev/bin) and add more memory to the file

    I haven't checked but you could add:

    AddVMOption  -XX:MaxHeapSize=512m 
    

    or whatever you want

    more help here