Saturday 1 August 2015

Jdeveloper Memory settings for better Performance:


Hi All

Usually we face the memory running low error with Jdeveloper . We can optimize this  by using some setting for Jdeveloper .

From different sources I have found these settings will optimize the performance

I am listing those below

1) Locate your jdev.conf file , it will be at the following path if your Jdeveloper was installed on C drive.

C:\Oracle\Middleware\jdeveloper\jdev\bin

Open jdev.conf file 

As Jdev runs on JVM we can keep some settings related to JVM to increase the performance

Add the following settings :

#optimization of  JVM for strings / text editing
AddVMOption -XX:+UseStringCache
AddVMOption -XX:+OptimizeStringConcat
AddVMOption -XX:+UseCompressedStrings

# if you are using a 64-bit system (less than 32 GB RAM) to reduce object pointer memory size we can use
AddVMOption -XX:+UseCompressedOops

# we can use aggressive garbage collector
AddVMOption -XX:+AggressiveOpts

2) Locate your ide.conf file at the path C:\Oracle\Middleware\jdeveloper\ide\bin

The default memory settings will be
AddVMOption  -Xmx800M
AddVMOption  -Xms128M

We can increase the memory of minimum and maximum heap spaces to 

AddVMOption  -Xmx1024M
AddVMOption  -Xms1024M

3) Go to Tools -> Preferences -> File Types -> Default Editors

and set Default Editor as source for html , jsf , jsp pages




4) As Oracale Themes have styles compared to windows
we can set the Look and feel to Windows  instead of Oracle @the following path
Tools -> Preferences -> Environment -> Look and Feel

* Should  Restart Your Jdeveloper once these settings are done.

Thanks
Krishna

2 comments:

Hello World in Java and Go

Hello World: Java: public class HelloWorld { public static void main (String[] args) { System.out.println( "Hello, W...

Popular Posts