Wednesday, October 21, 2015

How to improve Jdev performance and resolve running Local Jdev in debug mode

I have recently seen an issue while running complex ADF application locally in debug mode, and Jdev performs very very slow to edit single line of code in AMImpl or .jsff file which are having more than 4k Lines of code.


Fix :

- Download JDK 64 bit if your operating system is 64bit
1. Install the Jrockit using below link

        http://www.oracle.com/technetwork/java/javase/downloads/java-archive-downloads-jrockit-2192437.html

2. Modify theC:\Users\xxx\AppData\Roaming\JDeveloper\system11.1.1.7.40.64.93\DefaultDomain\bin\setDomainEnv.cmd file with below changes

set USER_MEM_ARGS=-Xms64m -Xmx2048m -XX:MaxPermSize=1024m
set JAVA_VENDOR=Oracle

set BEA_JAVA_HOME=C:\Program Files\Java\jrockit-jdk1.6.0_45


3. Add below in jdev.conf file

         AddVMOption  -XX:MaxPermSize=1024M


Below article clearly explains the difference b/w having standard JDK vs Jrockit JDK

http://blog.dbi-services.com/a-comparison-of-java-virtual-machines-hotspot-jvm-vs-jrockit-jvm/

2 comments:

  1. We are really grateful for your blog post. You will find a lot of approaches after visiting your post. Thanks for such post and please keep it up. Oracle ADF online Training

    ReplyDelete
  2. Thanks for this great post. Post more blogs as possible. We really loved this blog to read it Thanks.....R12 Project Accounting Online Training

    ReplyDelete