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:
In any text editor, open:
install\Middleware\user_projects\epmsystem1\domains\EPMSystem\bin\setCustomParamsHPSWebReports.bat.
Locate this code:
set JAVA_OPTIONS=-server -Xms256m -Xmx1024m
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. |
Save and close the file.
Restart WebLogic.