×

IDMWORKS Blog

Quick Tip: Changing Java Heap Size for OIM


Quick Tip: Changing Java Heap Size for OIM

A common tuning step you’ll see to help your OIM performance is to increase the Java Heap size for the WebLogic servers. The problem is, it’s hard to find a consensus among the varying Oracle documentations. Hopefully this blog post clears up some of the confusion.

Recommendation

IDMWORKs recommends the following steps for changing the Java Heap size:

1.  Discover the $DOMAIN_HOME/bin directory

2.  Edit the file called “setDomainEnv.sh” (setDomainEnv.cmd on Windows)

3.  Find the line which checks the USER_MEM_ARGS variable (somewhere around line 350 (259 on Windows))

Example:

# IF USER_MEM_ARGS the environment variable is set, use it to override ALL MEM_ARGS values

if [ “”${USER_MEM_ARGS}”” != “””” ] ;then
MEM_ARGS=””${USER_MEM_ARGS}””
export MEM_ARGS
fi

4.   Now simply add a line before this block of code which sets USER_MEM_ARGS:

USER_MEM_ARGS=””-Xms2048m -Xmx2048m -XX:MaxPermSize=512m”” export USER_MEM_ARGS

Windows:
set USER_MEM_ARGS=-Xms2048m -Xmx2048m -XX:MaxPermSize=512m

 

It’s as simple as that.

 

Now save the file and then restart all of your WebLogic servers.

 

NOTE:

During start-up, you should see the Java Memory Arguments in the output to verify the settings are correct.

  • 2048MB (2GB) is recommended and it is the value we usually use

 

Questions, comments or concerns? Feel free to reach out to us below or at IDMWORKS

Questions, comments or concerns? Feel free to reach out to us below, or email us at IDMWORKS to learn more about how you can protect your organization and customers.

  1. Hi,
    I am wondering if u could give your thoughts on the following Issue.. Although it’s out of sync with this Post.
    Sorry for that.

    Need Your Expert Advise on the following query

    I ‘ve implemented SSO with Oracle EBS R12. EBS is already integrated with OAM-SSO-OID 11g using Accessgate 11g.

    Also using LDAP sync feature I ‘ve integrated OIM with same OID successfully which is already integrated with EBS & OAM.

    As I wanna use User provisioning & responsibility assignment via OIM

    so Need to Integrate OIM with OAM.

    Could you tell how it could be done.

    After searching many metalink note and Oracle Docs. like http://docs.oracle.com/cd/E23943_01/doc.1111/e15740/oim.htm

    I could NOT find any Solution which is fitting this scanrio.

    As to Reemphasize the query.

    In Order to integarate OIM with OAM And both the server is already in sync with the Same OID. Irrespective of the authorization information

    so how to Integrate them now i mean in this Scenario ?

    Also The Mute Point is for each Partner application like EBS (Plz assume as of now this is the Only Partner application)

    Do i ‘ve to Install EBS Connectore to get It integrated it with OIM in this Scenario ?

    Really Appreciate the Response.

    Thanks & Regards
    Priya

Leave a Reply

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