Pages

Wednesday 8 October 2014

Oracle J Dev 12c Performance Enhancement :

Performance Enhancement : 
                
    The Jdeveloper have some performance Enhancement so please follow the following steps


 Increase Heap Size
                                                                                         
     To increase the heap size for Jdeveloper to performance high speed usage of Jdeveloper.

Go to Installation path of Jdeveloper like below directory...........

-->go D:\Oracle\middleware\Jdeveloper\Ide\bin\Ide.Conf


1. Open the file ide\bin\ide.conf, scroll down to the default memory settings:
       
# If you are getting the 'Low Memory Warning' Message Dialog while running
# JDeveloper, please increase the -Xmx value below from the default 800M to
# something greater, like 1024M or 1250M.  If after increasing the value,
# JDeveloper is no longer starting up because it fails to create a virtual
# machine, then please reduce the modified -Xmx value, or use a 64bit JDK
# which allows for very very large value for -Xmx.
#
AddVMOption  -Xms128M
AddVMOption  -Xmx768M

2. Boost the memory to something larger, like so:
AddVMOption  -Xmx1024M
AddVMOption  -Xms1024M
     
3. Open the file jdev\bin\jdev.conf

4.Add the following config settings:

As JDeveloper runs on JVM you can configure setting related to JVM in jdev.conf. You can enter following configurations at following path in jdev.conf <your-oracle-middle-directory> -> jdeveloper -> jdev -> bin -> jdev.conf
You need to enter following options for VM:
# optimize the JVM for strings / text editing
AddVMOption -XX:+UseStringCache
AddVMOption -XX:+OptimizeStringConcat
AddVMOption -XX:+UseCompressedStrings
# if on a 64-bit system, but using less than 32 GB RAM, this reduces object pointer memory size
AddVMOption -XX:+UseCompressedOops
# use an aggressive garbage collector (constant small collections)
AddVMOption -XX:+AggressiveOpts
# for multi-core machines, use multiple threads to create objects and reduce pause times
AddVMOption -XX:+UseConcMarkSweepGC
AddVMOption -DVFS_ENABLE=true
AddVMOption -Dsun.java2d.ddoffscreen=false
AddVMOption -XX:+UseParNewGC
AddVMOption -XX:+CMSIncrementalMode
AddVMOption -XX:+CMSIncrementalPacing
AddVMOption -XX:CMSIncrementalDutyCycleMin=0
AddVMOption-XX:CMSIncrementalDutyCycle=10                         

5. Then restart JDeveloper... If it doesn't start, you'll need to reduce the amount of memory allocate in the ide.conf file from step 2.


     6.After save all documents of Ide.Conf & Jdev.conf files. Then Restart the Jdeveloper they      performance will changed into high ......

1 comment:

  1. Hi
    I change jdev.conf & ide.conf like you but I'v steal have some problem.
    Is there any additional thing to di?

    ReplyDelete