Get Even More Visitors To Your Blog, Upgrade To A Business Listing >>

How to set the JVM Heap Size for Oracle Business Intelligence

You can change the default Jvm Heap Size for the Administration Server and Managed Servers by setting the USER_MEM_ARGS parameter in the startup script for Oracle WebLogic Server. The following procedure sets the same values for both the Administration Server and Managed Servers.
To change the Default Jvm Heap size:






  1. Use the WebLogic Server Administration Console to shut down the servers gracefully.
  2. Open the setDomainEnv.sh file (or setDomainEnv.bat on Windows systems) for editing. You can find this file in the DOMAIN_HOME/bin directory.
  3. Locate the IF statement for USER_MEM_ARGS and place the insertion point before that statement.
  4. Set the -Xmx argument for USER_MEM_ARGS. The following list shows examples of how to set USER_MEM_ARGS for various operating systems:
    • UNIX shell script (.sh)
      USER_MEM_ARGS="-Xms256m -Xmx1024m -XX:CompileThreshold=8000 -xx:PermSize=128m -XX:MaxPermSize=512m"
      export USER_MEM_ARGS
    • UNIX C shell script (.csh)
      setenv USER_MEM_ARGS="-Xms256m -Xmx1024m -XX:CompileThreshold=8000 -xx:PermSize=128m -XX:MaxPermSize=512m"
    • Windows command script (.bat)
      set USER_MEM_ARGS="-Xms256m -Xmx1024m -XX:CompileThreshold=8000 -xx:PermSize=128m -XX:MaxPermSize=512m"


    Note:
    The arguments for USER_MEM_ARGS can vary, depending on whether you are using SunVM or JRockit. For example, PermSize and MaxPerm Size apply only to SunVM and generate warnings for JRockit.

  5. After setting the parameter, save and close the file, then restart the Administration Server and Managed Servers for the changes to take effect.
  6. In a scaled-out system, repeat these steps for each domain home. Note that if you scale out the system at a future point, then you must perform these steps for the new node (the settings are not copied to the new node's domain home).


This post first appeared on The Big Data - Business Intelligence By Sandeep Venu, please read the originial post: here

Share the post

How to set the JVM Heap Size for Oracle Business Intelligence

×

Subscribe to The Big Data - Business Intelligence By Sandeep Venu

Get updates delivered right to your inbox!

Thank you for your subscription

×