Hi All,
I recently was in Madrid with a collegue from our US Development HQ and he shared with me a number of JDeveloper JVM 6 parameter changes which really make a difference to how JDeveloper works. In a nutshell they are hints to the JVMs memory & garbage collector which makes JDeveloper run a little smoother...
Disclaimer : I've been using these changes for the past month with no ill effects however they are not supported by worldwide customer support....
Firstly locate your jdev.conf file, usually in $JDEV_HOME/jdeveloper/jdev/bin directory
Append the following lines to the end of this file
AddVMOption -XX:+AggressiveOpts AddVMOption -XX:+UseStringCache AddVMOption -XX:+OptimizeStringConcat # # only since Java 6 update 21 performance release # reduces memory consumption # #AddVMOption -XX:+UseCompressedStrings AddVMOption -XX:+ScavengeBeforeFullGC # # only for multi-core machines # AddVMOption -XX:+UseConcMarkSweepGC AddVMOption -XX:+UseGCOverheadLimit # # works only on 64-bit JVM # dramatically reduces memory consumption # by reducing memory addressing length overhead # #AddVMOption -XX:+UseCompressedOops
Then restart jdeveloper!
Thanks Eduardo!
原文:http://blogs.oracle.com/angelo/entry/improving_the_performance_of_jdeveloper