![]() ![]() ![]() ![]() ![]() ![]() ![]() |
This section contains information on the following subjects:
This section provides some basic tuning guidelines for configuring WebLogic Server, J2EE, and JMS applications for response-time sensitive applications.
Use these guidelines when using WebLogic JMS applications with WebLogic Real Time.
For more information on JMS consumers, see " Best Practices for Application Design" in Programming WebLogic JMS.
1
enabled
ACKNOWLEDGE_PREVIOUS
For more information on configuring JMS connection factories, see " Configure connection factories" in the Administration Console Online Help.
Note: | Resource reference pooling is not suitable if the target destination changes with each call, in which case change application code to use regular JMS and cache the JMS connections, sessions, producers, and consumers. |
These tuning suggestions can further improve performance and decrease pause times when using the deterministic garbage collector.
-Xms
) smaller or the maximum heap size (-Xmx
) larger affects how often garbage collection will occur and determines the approximate amount of live data an application can have. See "
-X Command-line Options" in the BEA JRockit Reference Manual.-XXlargePages
) can increase performance and lower pause times by limiting cache misses in the translation look-aside buffer (TLB). See "
-XX Command-line Options" in the BEA JRockit Reference Manual.Weak-
, Phantom-
, and finalizers. These references require special handling, and if they occur in large numbers then pause times can become longer than 30ms.-XpauseTarget
option. See "
-X Command-line Options" in the BEA JRockit Reference Manual.-XXgctrigger
) to limit the amount of heap space used. This way, you can force the garbage collection to trigger more frequent garbage collections without modifying your applications. The garbage collection trigger is somewhat deterministic, since garbage collection starts each time the trigger limit is hit. See "
Adjust the Garbage Collection Trigger" in the BEA JRockit Configuration and Tuning Guide.Note: | If the trigger value is set to low, the heap might get full before the garbage collection is finished, causing even longer pauses for threads since they have to wait for the garbage collection to complete before getting new memory. Typically, memory is always available since a portion of the heap is free and any pauses are just the small pauses when the garbage collection stops the Java application. |
This section contains pointers to additional performance and tuning information.
![]() ![]() ![]() |