X

An Oracle blog about Middlware

Tune your JDeveloper 12c (12.1.3)

Arda Eralp
Principal Consultant

Is your JDeveloper 12c too slow, follow these 3 basic steps and increase perfomance of JDeveloper 12c (12.1.3)

Step 1: Configure JVM settings in jdev.conf

Path: $MV_HOME$/jdeveloper/jdev/bin/jdev.conf

# 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

Step 2: Configure Jdeveloper memory settings in ide.conf

Path: $MV_HOME$/jdeveloper/ide/bin/ide.conf

# Set the default memory options for the Java VM which apply to both 32 and 64-bit VM's.

# These values can be overridden in the user .conf file, see the comment at the top of this file.


AddVMOption -Xms2048M

AddVMOption -Xmx4096M

Step 3: Disable "Build After Save"

Follow this link

Join the discussion

Comments ( 4 )
  • guest Friday, March 25, 2016

    Hi,

    some parameters are not good (at least with the jvm i used 1.8 update 65 and Jdev 12.2.1).

    with UseCompresedStrings, jdev doesn't start

    UseStringCache and all CMSIncremental are either deprecated or completely ignored.

    J.


  • fede Saturday, March 26, 2016

    Great article, thank you.

    Even after following all the steps every time I switch from the Model project to the view controller within JDeveloper 12.2 the IDE shrinks. It seems like the resolution changes making everything smaller and sometimes making objects very hard to read. This doesn't happen with the 11.x versions. Any ideas?

    Thanks.

    Fede.


  • carol Friday, April 1, 2016

    java version "1.8.0_77", the next options is not working anymore

    - UseStringCache

    - UseCompressedStrings

    ---Java HotSpot(TM) 64-Bit Server VM warning: ignoring option UseStringCache; support was removed in 8.0

    Unrecognized VM option 'UseCompressedStrings'


  • Suresh Wednesday, May 4, 2016

    Hi Arda,

    If i in clude AddVMOption -XX:+UseCompressedStrings in optimization JVM in jdev.conf,

    the JDeveloper is not starting, except the above line it is fine.

    When i started JDeveloper my system is hanging completely ( I mean, unable to do other tasks like opening browser or other programs ) could u help me to solve this issue ASAP?

    my system config is :

    RAM - 4 GB

    Processor - i3

    OS - Ubuntu 14.04 LTS 64 bit

    Thanks in advance,

    Regards,

    Suresh


Please enter your name.Please provide a valid email address.Please enter a comment.CAPTCHA challenge response provided was incorrect. Please try again.Captcha