Tested with JDeveloper Version 11.1.1.5, 11.1.2.1
Short post, but hopefully a useful productivity tip. Recently I thought if there isn't such a feature as I was used from some other IDEs
Monitoring of the java heap size + the ability to force garbage collection.
Finally I found it as you can see from the screen shot above which shows my right bottom of JDeveloper Statusbar.
So how to activate this one? Well it is quite easy. Locate $MW_HOME/jdeveloper/jdev/bin/jdev.conf and add the following line at the bottom
AddVMOption -DMainWindow.MemoryMonitorOn=true
Restart JDeveloper and you should be able to see the java heap size monitor. Clicking on the recycle bin will force garbage collection.
After garbage collection (in my just started jdeveloper) the used memory dropped from 200M to 105M
Conclusion
That might save you from restarting Jdeveloper to often a day;)
Further Reading
http://docs.oracle.com/cd/E25178_01/fusionapps.1111/e15524/gs_install_e.htm#CDEFEDGC
That monitor is not available in 7, 8, and 12c.
ReplyDeleteThanks Andreas, confirmed to work in 12.1.3
ReplyDelete