How to permanently modify the default heap size settings for BW service instances?
book
Article ID: KB0084712
calendar_today
Updated On:
Products
Versions
TIBCO Administrator
-
Not Applicable
-
Description
Resolution: The default settings for java properties can be viewed and modified in the Administrator GUI: In the Service Instance configuration for the application, select the Server Settings tab, and set the value as desired.
If the need to permanently modify these values arises, this can be achieved by specifying defaults set in the EAR file at design time. Add to <Tibco_Home>/bw/<version>/lib/com/tibco/deployment/bwengine.xml the following properties: <property> <name>Minimum Heap Size</name> <option>java.heap.size.min</option> <default>512M</default> <description>Sets the minimum heap size</description> </property> <property> <name>Maximum Heap Size</name> <option>java.heap.size.max</option> <default>1024M</default> <description>Sets the maximum heap size</description> </property> After (re)building the EAR file and uploading it in the Admin GUI, those modified Engine properties should be seen under the category "Adapter SDK properties" in the Advanced tabe of the Service level (.PAR) configuration.
Issue/Introduction
How to permanently modify the default heap size settings for BW service instances?