Sunday, June 26, 2011

TIBCO BW Performance Tuning by JVM parameters

Every BusinessWorks engine runs in a Java Virtual Machine. As a result, the settings on the JVM influence the engine performance. Java provides below parameters to tune the memory usage and optimize engine performance.

i. HEAP SIZE:

Following parameter used to set the heap size in
bwengine.tra, designer.tra files for the engine:

Example:
tibco.env.HEAP_SIZE=256M

These values determine the amount of memory to be used by the engine.

ii. GARBAGE COLLECTION:

• The java object, such as a job, occupies memory from the time it is created to the time it is destroyed. Java provides garbage collection, an automated mechanism to clean up objects that still exist but are no longer used.

• To retrieve the garbage collection metrics for the BusinessWorks engine, specify the -verbose:gc option when starting the JVM used by the engine.

• You can set the Java memory parameters by using the java.extended.properties option in the bwengine.tra file.

For example, specify the following in the bwengine.tra to set the heap size to 512M and retrieve the garbage collection metrics for the engine.


java.extended.properties -Xms512m -Xmx512m -verbose:gc

1 comments:

Unknown May 31, 2016 at 6:42 PM  

Can we add heap size from admin gui

Popular Posts

  © Blogger templates The Professional Template by Ourblogtemplates.com 2008

Back to TOP