This time I am trying to optimize freshly installed JDeveloper 12c (12.2.1.3.0). The laptop is the same, it is Dell Latitude with 16Gb RAM and Intel Core i7 @2.60GHz with Windows 10 64 bit OS.To make life easier, this time I decided to use http://gceasy.io/ an ML based GC tuning site. The tool gives tips where I have issues and makes all the tuning exercise an easy task.
I am using G1 garbage collector instead of CMS.
The outcome is perfect, the JDeveloper is now responds quick and the overall perception is good so far. My settings now as follows:
ide.conf:
AddVMOption -Xms2048M
AddVMOption -Xmx2048M
jdev.conf:
AddVMOption -XX:+UseStringCache
AddVMOption -XX:+OptimizeStringConcat
#AddVMOption -XX:+UseCompressedStrings
#AddVMOption -XX:+UseCompressedOops
AddVMOption -XX:+AggressiveOpts
AddVMOption -server
AddVMOption -XX:+UseG1GC
AddVMOption -XX:MaxGCPauseMillis=100
AddVMOption -XX:ParallelGCThreads=8
AddVMOption -XX:ConcGCThreads=2
AddVMOption -XX:InitiatingHeapOccupancyPercent=70
AddVMOption -XX:G1HeapRegionSize=48M
AddVMOption -XX:MetaspaceSize=256M
AddVMOption -XX:+PrintGCDetails
AddVMOption -XX:+PrintGCDateStamps
AddVMOption -XX:+PrintAdaptiveSizePolicy
AddVMOption -XX:+PrintTenuringDistribution
AddVMOption -Xloggc:c:\temp\soa_gc.log
I am using G1 garbage collector instead of CMS.
The outcome is perfect, the JDeveloper is now responds quick and the overall perception is good so far. My settings now as follows:
ide.conf:
AddVMOption -Xms2048M
AddVMOption -Xmx2048M
jdev.conf:
AddVMOption -XX:+UseStringCache
AddVMOption -XX:+OptimizeStringConcat
#AddVMOption -XX:+UseCompressedStrings
#AddVMOption -XX:+UseCompressedOops
AddVMOption -XX:+AggressiveOpts
AddVMOption -server
AddVMOption -XX:+UseG1GC
AddVMOption -XX:MaxGCPauseMillis=100
AddVMOption -XX:ParallelGCThreads=8
AddVMOption -XX:ConcGCThreads=2
AddVMOption -XX:InitiatingHeapOccupancyPercent=70
AddVMOption -XX:G1HeapRegionSize=48M
AddVMOption -XX:MetaspaceSize=256M
AddVMOption -XX:+PrintGCDetails
AddVMOption -XX:+PrintGCDateStamps
AddVMOption -XX:+PrintAdaptiveSizePolicy
AddVMOption -XX:+PrintTenuringDistribution
AddVMOption -Xloggc:c:\temp\soa_gc.log