Skip to main content

Setting User Defined JVM Memory Arguments in JDeveloper 11g Integrated WebLogic Server


Setting User Defined JVM Memory Arguments in JDeveloper 11g Integrated WebLogic Server






This guide explains how to set your own predefined JVM memory arguments for the JDeveloper WebLogic container at startup for the integrated WebLogic server.  This will help avoid java.lang.OutOfMemoryErrors experienced on heavy java processes and also improve on the integrated JDeveloper WebLogic server’s performance overall.
Steps
  1. Locate the file: setDomainEnv.cmd which should be at:
[JDeveloper Working Directory]\jdeveloper\system.xxx.xx.xx\DefaultDomain\bin
                                i.            Note:
[JDeveloper Working Directory] will be "C:\Documents and Settings\<username>\Application Data per default
                              ii.            xxx.xx.xx will be a version number
  1. 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
  2. Save the file.
  3. Run any web project and verify it picks up the new settings.
*** Using port 7101 ***
D:\jdev\jdevprod\11gr2\jdeveloper\jdev\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


Comments

Post a Comment

Popular posts from this blog

OBIEE 11g Error "Selected item is not of valid selection type" In Agent When Select Dashboard Page For Content

OBIEE 11g Error"Selected item is not of valid selection type" This error applies to OBIEE - version 11.1.1.7.0 and later . When you try to choose a dashboard page for delivery content in an agent, it constantly fails with the error message " Selected item is not of valid selection type ”.  Solution: This error may happen, when there is an added extra space after the end of the name of the dashboard page. For example, instead of "PAGE", it is "PAGE   "  It may happen with a space at the beginning of the name also. Removal of the extra space by renaming the dashboard page will correct the error.

Oracle BI Scheduler Error: [nqSError:76015]

Oracle BI Scheduler Error: [nqSError:76015]. The active Oracle BI Scheduler instance in the cluster could not be determined This solution applies to Oracle Business Intelligence Server Enterprise Edition - Version 11.1.1.7 and later The above error appears when a user is unable to save and edit an iBOT/Agent job This is because the data source details are incorrect and not matching with the data connection from tnsnames.ora file To resolve the error, 1.        Log in to Enterprise Manager 2.        Navigate to coreapplication 3.        Open the Deployment tab and navigate to scheduler 4.        Lock and Edit configuration 5.        Copy connection details from tnsnames.ora file NB Don’t include the TNS alias, only copy the connection string after the equal (=) sign. Spaces are OK: For example: (DESCRIPTION=(ADDRES...