الخميس، 9 أبريل 2020

Set User Defined JVM Memory Arguments in JDeveloper

Steps

  1. Locate the file: setDomainEnv.cmd which should be at:
    [JDeveloper Working Directory]\jdeveloper\system.xxx.xx.xx\DefaultDomain\bin

    Note:
    [JDeveloper Working Directory] will be "C:\Documents and Settings\<username>\Application Data per default
    xxx.xx.xx will be a version number
  2. After the comments at the start of the file add the following environment variable with your required settings.
    ...
    @REM For additional information, refer to "Managing Server Startup and Shutdown for Oracle WebLogic Server"
    @REM (http://download.oracle.com/docs/cd/E12839_01/web.1111/e13708/overview.htm).
    @REM *************************************************************************
    ...

    set USER_MEM_ARGS=-Xms1024m -Xmx1024m -XX:MaxPermSize=256m
  3. Save the file.
  4. Run any web project and verify it picks up the new settings.
    *** Using port 7101 ***
    <PATH_TO_SYSTEM_FOLDER>\system11.1.1.2.36.55.36\DefaultDomain\bin\startWebLogic.cmd
    [waiting for the server to complete its initialization...]
    .
    .
    JAVA Memory arguments: -Xms1024m -Xmx1024m -XX:MaxPermSize=256m
    .
    WLS Start Mode=Development

ليست هناك تعليقات:

إرسال تعليق

ADF: Programmatic View Object Using Ref Cursor.

ADF: Programmatic View Object Using Ref Cursor. Posted by:  Manish Pandey   April 25, 2013   in  ADF   Leave a comment   3758 Views Sometime...