09 December 2010

TROUBLESHOOTING: "Low Memory Warning" of JDeveloper or How to tweak memory settings.

Last updated on: 14/12/2010
Here are the 2 well known tips to make JDeveloper use more mem, and workaround the "Low Memory Warning".

The files to modify
The following 2 files  must be modified

  • C:\Oracle\Middleware\jdeveloper\ide\bin\ide.conf
  • C:\Oracle\Middleware\jdeveloper\jdev\bin\jdev.conf

here I have used the default installation folder that is proposed by JDev. If you have another just search the 2 files in hte installaiton folder.

The mods
For ide.conf
Tweak the following lines

AddVMOption  -Xmx940M
AddVMOption  -Xms128M

For jdev.conf
AddVMOption  -XX:MaxPermSize=356M

these are the setting I use and my jdeveloper.exe limits up to around 1200MB

Remember the limit of the mem that can me allocated to a java process in Windows is around 1.5Gigs.
These so if (Xmx + XX:MaxPermSize) around 1.5 gigs JDeveloper will not start and through a related jvm.dll error.

This is a common and old practice to increase memory of JDeveloper (back to the first days of 11g release when the mem leaks where creting pools of memory). These days are in to the past and the tool now behaves  almost ideally.

Note2 :
Also if you machine is really old, decreasing history of JDeveloper might help a lot.

No comments:

Post a Comment

You might also like:

Related Posts Plugin for WordPress, Blogger...