How to prevent the generation of hprof file in Tibco Data Virtualization (TDV) when receiving out of memory errors?
book
Article ID: KB0080583
calendar_today
Updated On:
Products
Versions
TIBCO Data Virtualization
-
Description
Although, it is strongly recommended to retain the default setting to allow the hprof file generation for the purpose of troubleshooting. These hprof files can assist in diagnosing if the out of memory error is due to a memory leak or whether it is a genuine exhaustion. However, if these hprof files are huge and may lead to out of storage issues; you have the option to turn it off (at your own discretion).
Issue/Introduction
This document shows how to prevent the generation of hprof file in Tibco Data Virtualization (TDV) when receiving out of memory errors.
Resolution
To do so, follow the steps below:
Step 1: Open the following file with a text editor: <CIS install dir>\bin\composite_server.bat (if CIS is running on Windows) <CIS install dir>/bin/composite_server.sh (if CIS is running on Unix)
Step 2: Remove the XX:+HeapDumpOnOutOfMemoryError flag from the VM_ARGS line: set VM_ARGS=-server -XX:NewRatio=6 -XX:-UseGCOverheadLimit -XX:+HeapDumpOnOutOfMemoryError