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
1
2
3
| AddVMOption -Xms2048M AddVMOption -Xmx4096M |
- Java MaxPermSize
Open file %MW_HOME%/jdeveloper/jdev/bin/jdev.conf and add/change following line
1
| 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:
1
| AddVMOption -DMainWindow.MemoryMonitorOn=true
|
ليست هناك تعليقات:
إرسال تعليق