Server memory limit exceeded

Server memory limit exceeded

book

Article ID: KB0075476

calendar_today

Updated On:

Products Versions
TIBCO Hawk -

Description

ERROR in hawk.log

2017 Apr 13 09:34:04:057 GMT -05:00 HawkAgent.sdcpiapplnx002.deerfield.aim.local Error [Application] HWKAGT-010606 TibrvException[error=900,message=Exception sending message: Server memory limit exceeded] Exception sending message: Server memory limit exceeded

ERROR in Administrator.log

Error [CorporateRepository] AESDKJ-0000 [Thread-43]  com.tibco.pof.entity.EntityStoreException: TibrvException[error=900,message=Exception sending message: Server memory limit exceeded]
    at com.tibco.pof.entitystore.rvtransactionnotifier.RVTransactionNotifier.rememberTransactionDetails(RVTransactionNotifier.java:256)
    at com.tibco.pof.entitystore.AbstractEntityTransaction.endUpdate(AbstractEntityTransaction.java:1006)
    at com.tibco.pof.entitystore.db.DBEntityTransaction.endUpdate(DBEntityTransaction.java:210)
    at com.tibco.pof.entitystore.AbstractEntityTransaction.update(AbstractEntityTransaction.java:410)
    at com.tibco.pof.entitystore.AbstractEntityTransaction.a(AbstractEntityTransaction.java:698)
    at com.tibco.pof.entitystore.AbstractEntityTransaction.commit(AbstractEntityTransaction.java:676)
    at com.tibco.pof.entity.impl.MutableDomainChildFactory.commit(MutableDomainChildFactory.java:462)
    at com.tibco.pof.entity.impl.MutableDomainChildFactory.commit(MutableDomainChildFactory.java:457)

Issue/Introduction

Server memory limit exceeded

Environment

ALL

Resolution

Cause - 

1."Server memory limit exceeded" exception happens when MMU (message memory usage) exceeds max_msg_memory.  You can check it by run "info" in tibemsadmin and see what is current MMU.
2.MMU is sufficient but this happens when deploying a huge .ear file

Resolution - 

1.You need to either reduce the number of pending messages in the server or if there is sufficient memory on server machine, you can increase max_msg_memory using bellow command:

+++++
set server max_msg_memory=<value>
Specify units as KB, MB or GB. The minimum value is 8MB. Zero is a special value, indicating no limit.
+++++

2.You can resolve the Issue by purging that particular topic/Queue and also restart the hawkagent.

3.Breaking down the .ear file to smaller ones will be help to overcome this error.

Additional Information

TibrvException[error=900,message=Exception sending message: Server memory limit exceeded]