Monday, 7 September 2026

How to increase Memory allocation for JDEV

 

IF JDEV is already Opened, then save work and close JDEV before the following steps are carried out.

Increase the memory allocation for JDEV using the below steps

Step 1: Configure JVM settings in jdev.conf

Path: <MW_HOME>/jdeveloper/jdev/bin/jdev.conf

# optimize the JVM for strings / text editing

AddVMOption -XX:+UseStringCache

AddVMOption -XX:+OptimizeStringConcat

AddVMOption -XX:+UseCompressedStrings    # if on a 64-bit system, but using less than 32 GB RAM, this reduces object pointer memory size

AddVMOption -XX:+UseCompressedOops       # use an aggressive garbage collector (constant small collections)

AddVMOption -XX:+AggressiveOpts          # for multi-core machines, use multiple threads to create objects and reduce pause times

AddVMOption -XX:+UseConcMarkSweepGC

AddVMOption -DVFS_ENABLE=true

AddVMOption -Dsun.java2d.ddoffscreen=false

AddVMOption -XX:+UseParNewGC

AddVMOption -XX:+CMSIncrementalMode

AddVMOption -XX:+CMSIncrementalPacing

AddVMOption -XX:CMSIncrementalDutyCycleMin=0

AddVMOption -XX:CMSIncrementalDutyCycle=10

 

Step 2: Configure Jdeveloper memory settings in ide.conf

Path: <MW_HOME>/jdeveloper/ide/bin/ide.conf

# Set the default memory options for the Java VM which apply to both 32 and 64-bit VM's.

# These values can be overridden in the user .conf file, see the comment at the top of this file.

AddVMOption -Xms2048M

AddVMOption -Xmx4096M

 

Step 3: Disable "Build After Save"

Step 4: Start JDeveloper.

NOTE: If JDEV doesn't start, then try to decrease the Heap in the ide.conf file as suggested in the Step 2 above.


No comments:

Post a Comment