Error when appending "java.extended.properties" to an application .tra file to set the bwengine JVM heap/stack size.

Error when appending "java.extended.properties" to an application .tra file to set the bwengine JVM heap/stack size.

book

Article ID: KB0093167

calendar_today

Updated On:

Products Versions
TIBCO ActiveMatrix BusinessWorks -
Not Applicable -

Description

Description:
Only appending to the application .tra file, the line "java.extended.properties=-Xmx1024m -Xms1024m  -Xss128k" will not take effect if checking the heap dump/GC or using the  JConsole to monitor the JVM.



Symptoms:
If checking the heap dump/GC or using JConsole to monitor the JVM, memory usage is still small and is not as large as the value we want to set.

Cause:

These default lines in the application .tra file should take precedence in setting JVM memory:


tibco.env.HEAP_SIZE=256M
java.heap.size.max=256M
java.heap.size.initial=32M


Resolution

1). The above three lines could be set in the Admin GUI. To change the values, restart the application.

Or


2). Comment the above three lines and then append your custom setting "java.extended.properties=-Xmx1024m -Xms1024m  -Xss128k" to the application .tra file. Restart the application for the new settings for the  VM/bwengine memory to take effect.

Issue/Introduction

Error when appending "java.extended.properties" to an application .tra file to set the bwengine JVM heap/stack size.

Additional Information

SR 463714,  SR 518817, SR 520145