Sunday, April 1, 2012

jdeveloper out of memory heap space error

Occasionally while working with jDeveloper you may get an OutOfMemory heap space error due to lack of heap space available for the jdeveloper ide itself. The following steps should help.

If you have installed jdeveloper on a windows machine you can
  • Go to C:\Program Files\jdeveloper\ide\bin\
    NOTE : The path marked in bold should be your jdeveloper installation directory
  • Edit the file ide.conf
  • Set the AddVMOption  property to be around -Xmx1024M
  • In case after making these changes, jdev doesn't start up, you probably need to decrease the  AddVMOption  to a lower value and restart jdeveloper again

Happy Programming :)
Signing Off


No comments: