Wednesday, May 4, 2011

JDeveloper performance tuning

Reference:
http://java2go.blogspot.com/2007/06/jdeveloper-tips-2-fine-tuning.html

Using Editor
tools->preferences->code editor->code insight and set it to something smaller (default 1 sec)
tools->preferences->extensions and disable extensions that you don't need
Tools->Preferences->Environment->Look and Feel and change it to Windows

Using JDeveloper Configuration File (%JDEV_HOME%\jdev\bin\jdev.conf)
AddVMOption -XX:Xms256M
AddVMOption -XX:Xmx1024M
AddVMOption -XX:PermSize=128M
AddVMOption -XX:MaxPermSize=512M
AddVMOption -DVFS_ENABLE=true
AddVMOption -Dsun.java2d.ddoffscreen=false
AddVMOption -Dsun.java2d.noddraw=true
AddVMOption -XX:+UseConcMarkSweepGC
AddVMOption -XX:+UseParNewGC
AddVMOption -XX:+CMSIncrementalMode
AddVMOption -XX:+CMSIncrementalPacing
AddVMOption -XX:CMSIncrementalDutyCycleMin=0
AddVMOption -XX:CMSIncrementalDutyCycle=10
Uncomment AddVMOption -Xsinglecpu on Multicore Machine
AddVMOption -Dsun.awt.keepWorkingSetOnMinimize=true

Using trinidad-config.xml
animation-enabled = false

More information can be found from
  • http://andrejusb.blogspot.com/2009/06/quick-hint-for-adf-faces-rich-client.html
  • http://andrejusb.blogspot.com/2009/06/jdeveloper-11g-ide-performance-problem.html