Thats natural that JDeveloper out of the box comes with minimal settings for resource usage. And obviously it is far away not enough for comfortable usage. So there are at least couple of settings that needs to be tuned right after installation:
- Java heap size
Open file %MW_HOME%/jdeveloper/ide/bin/ide.conf and add/change following two lines
AddVMOption -Xms2048M AddVMOption -Xmx4096M
- Java MaxPermSize
Open file %MW_HOME%/jdeveloper/jdev/bin/jdev.conf and add/change following line
AddVMOption -XX:MaxPermSize=1024M
Provided settings should be optimal in most cases if you’re using at least 16GB of RAM.
Additionally one more nice to have feature dealing with memory tuning – its real time memory usage monitor, integrated into JDeveloper GUI. It is displayed in the lower right corner of JDeveloper window:
To make it visible, need to add another row into jdev.conf file:
AddVMOption -DMainWindow.MemoryMonitorOn=true
JDeveloper Version 12.2.1.0.0