Changing the JVM Memory Size for OpenSpirit Data Connectors
book
Article ID: KB0077592
calendar_today
Updated On:
Products
Versions
TIBCO OpenSpirit Runtime
All
Description
Sometimes it is necessary to increase the memory size allocated to OpenSpirit data connectors to better their performance. Instructions follow:
WARNING: increasing the memory size might not solve the problem; there might be a memory leak or some other reason that is causing DC memory problems.
Issue/Introduction
Instructions for changing the JVM memory size for OpenSpirit Data Connectors
Environment
Linux & Windows
Resolution
Unix Data Connectors (example OpenWorks)
these data connectors usually have run scripts
go to the master/satellite location and the plugins directory of the data connector you want to change (e.g. $OSP_HOME/plugins/OpenWorks_R5000)
look for the run script (e.g. runOpenWorksServer.sh)
search for OSP_HEAP_SIZE or Xmx (e.g. OSP_HEAP_SIZE="4000m" ← that is 4 GB)
modify the run script and change the memory size; making it too big is not a good thing because it could cause the Data Connector not to start; we suggest gradual increases
make sure the run script is still executable
the clients have to restart their Data Connector to pick up the new change
PC Data Connectors
this is more complicated because there is not a run script for the customer to modify
the customers have to contact OpenSpirit Support and tell them what is wrong and which OSP runtime and Data Connector versions they are using.