JDeveloper 11g: Increase JVM Memory

 

Increase JDeveloper IDE JVM Memory

* Open C:\Oracle\Middleware\jdeveloper\ide\bin\ide.conf
* Increase memory setting:

@REM AddVMOption  -Xmx640M
@REM AddVMOption  -Xms128M
 
AddVMOption  -Xmx2048M
AddVMOption  -Xms512M

* Open C:\Oracle\Middleware\jdeveloper\jdev\bin\jdev.conf
* Increase perm memory setting:

AddVMOption  -XX:MaxPermSize=256M

Increase Integrated WebLogic JVM Memory

* Open C:\Users\jli\AppData\Roaming\JDeveloper\systemxx.xx.xx\DefaultDomain\bin\setDomainEnv.cmd
* Increase memory setting (Note that this can not be more than the memory allocated to IDE itself):

@REM set XMS_SUN_64BIT=256
@REM set XMS_SUN_32BIT=256
@REM set XMX_SUN_64BIT=512
@REM set XMX_SUN_32BIT=512
 
set XMS_SUN_64BIT=512
set XMS_SUN_32BIT=512
set XMX_SUN_64BIT=768
set XMX_SUN_32BIT=768
 
set XMS_JROCKIT_64BIT=512
set XMS_JROCKIT_32BIT=512
set XMX_JROCKIT_64BIT=768
set XMX_JROCKIT_32BIT=768
 
if "%JAVA_VENDOR%"=="Sun" (
  @set WLS_MEM_ARGS_64BIT=-Xms256m -Xmx512m
  @set WLS_MEM_ARGS_32BIT=-Xms256m -Xmx512m
  set WLS_MEM_ARGS_64BIT=-Xms512m -Xmx768m
  set WLS_MEM_ARGS_32BIT=-Xms512m -Xmx768m
) else (
  @set WLS_MEM_ARGS_64BIT=-Xms512m -Xmx512m
  @set WLS_MEM_ARGS_32BIT=-Xms512m -Xmx512m
  set WLS_MEM_ARGS_64BIT=-Xms512m -Xmx768m
  set WLS_MEM_ARGS_32BIT=-Xms512m -Xmx768m
)

Increase Integrated WebLogic JVM MaxPemGen Size

jdev11g_IntegratedWLS_increasePemGen_1
jdev11g_IntegratedWLS_increasePemGen_2
jdev11g_IntegratedWLS_increasePemGen_3

Resolve Stuck Integrated WLS

* See this post.

Modify JDeveloper SCA Compiler JVM Memory

* Go to: jdeveloper\bin
* Open file: ant-sca-compile.xml
* Modify jvmarg parameters:

    <target name="scac" description="Compile and validate a composite">
      <scac input="${scac.input}" outXml="${scac.output}" error="${scac.error}" appHome="${scac.application.home}" failonerror="true" displayLevel="${scac.displayLevel}" reportErrors="${scac.reportSchemaValidationErrors}">
        <jvmarg value="-Xms128m"/>
        <jvmarg value="-Xmx512m"/>
        <jvmarg value="-XX:PermSize=32m"/>
        <jvmarg value="-XX:MaxPermSize=256m"/>
        <!-- jvmarg value="-Xrunjdwp:transport=dt_socket,server=y,suspend=y,address=5005"/ -->
      </scac>
    </target>
This entry was posted in jdev. Bookmark the permalink.

Leave a Reply

Your email address will not be published. Required fields are marked *


*

This site uses Akismet to reduce spam. Learn how your comment data is processed.