HawkAgent stops working with heap space and out of memory errors in the tsm.log when system memory is still available.

book

Article ID: KB0073262

calendar_today

Updated On:

Products Versions
TIBCO Hawk -
Not Applicable -

Description

Resolution:
Increase the Java.heap.size.maxsettings in your /tra/domain/<domainName>/hawkagent_domainname.tra file which is on the deployment machine (e.g. to 1024M). Restart the
Hawkagent.

If the issue persists, please add/modify "java.extended.properties" in hawkagent_domainname.tra to include below options:

-XX:+HeapDumpOnOutOfMemoryError -XX:HeapDumpPath=C:/temp/hawkagent-dumps.hprof
This option will make it create a heap dump file if OutOfMemoryError happens again.  
(*** for Windows machine, users need run "hawkagent_domainname.exe --update" to update the Windows Service  to make the change effective. )
Please contact TIBCO Support and upload the heap dump file for review. 

Issue/Introduction

HawkAgent stops working with heap space and out of memory errors in the tsm.log when system memory is still available.