Tuning Garbage Collection for Sun JVM

If you are using Sun JVM, you can improve performance by tuning the Garbage Collection (GC) parameters of WebLogic.

  To tune GC:

  1. In any text editor, open:
    install\Middleware\user_projects\epmsystem1\domains\EPMSystem\bin\setCustomParamsHPSWebReports.bat.

  2. Locate this code:

    set JAVA_OPTIONS=-server -Xms256m -Xmx1024m

  3. Place this code at the end of the line:

    Original line -XX:NewSize=128m -XX:MaxNewSize=128m -XX:SurvivorRatio=16

    Note:

    You can adjust these parameters and find the numbers that are best suited to your application.

  4. Save and close the file.

  5. Restart WebLogic.