If You are using Jdeveloper and you are facing memory consumption and want to monitor the memory and force the garbage Collector to clean up the memory ,
you can follow the coming steps
1- Go to Oracle Home where you setup your Jdeveloper (ex: c:/Oracle)
2- Go to (jdev/bin) you will find file named "jdev.conf"
3- open the file for edit and add this line
AddVMOption -DMainWindow.MemoryMonitorOn=true
4- restart jdeveloper (close & open ) after restart you will see in lower right corner the memory consumed and button for enforcing garbage collector to clean the memory
5- to maximize the memory then under the oracle home (ex: c:/oracle) you will find
(ide/bin ) folders and you will find file named ide.conf open the file to edit
6- modify the two values as you see in the screen (if you are using JDK32bit) as following
AddVMOption -Xmx1024M
AddVMOption -Xms1024M
do not increase the memory over then 1024M rather than jdeveloper will not open ,if you are using JDK64bit you Can modify it to
AddVMOption -Xmx2048M
AddVMOption -Xms1024M
7- Restart jdeveloper you will see the memory changed in the Lower right Corner


No comments:
Post a Comment