BE-Views agent goes down after a period of time with the error, “terminate called after throwing an instance of 'std::bad_alloc'c”.

BE-Views agent goes down after a period of time with the error, “terminate called after throwing an instance of 'std::bad_alloc'c”.

book

Article ID: KB0089512

calendar_today

Updated On:

Products Versions
TIBCO BusinessEvents Enterprise Edition -
Not Applicable -

Description

Description:
Description:
p { margin-bottom: 0.1in; direction: ltr; color: rgb(0, 0, 10); line-height: 120%; text-align: left; widows: 2; orphans: 2; }p.western { font-family: "Calibri",serif; font-size: 11pt; }p.cjk { font-family: "AR PL UKai CN"; font-size: 11pt; }p.ctl { font-size: 11pt; }

BE-Views agent goes down after a period of time with the error, “terminate called after throwing an instance of 'std::bad_alloc'”.


Symptoms:
p { margin-bottom: 0.1in; direction: ltr; color: rgb(0, 0, 10); line-height: 120%; text-align: left; widows: 2; orphans: 2; }p.western { font-family: "Calibri",serif; font-size: 11pt; }p.cjk { font-family: "AR PL UKai CN"; font-size: 11pt; }p.ctl { font-size: 11pt; }

After running BE-View for a period time, BE-Views agent shuts down with following error,

terminate called after throwing an instance of 'std::bad_alloc'

what(): std::bad_alloc.


Cause:
p { margin-bottom: 0.1in; direction: ltr; color: rgb(0, 0, 10); line-height: 120%; text-align: left; widows: 2; orphans: 2; }p.western { font-family: "Calibri",serif; font-size: 11pt; }p.cjk { font-family: "AR PL UKai CN"; font-size: 11pt; }p.ctl { font-size: 11pt; }

Stack Size Configuration.

Issue/Introduction

BE-Views agent goes down after a period of time with the error, “terminate called after throwing an instance of 'std::bad_alloc'c”.

Resolution

p { margin-bottom: 0.1in; direction: ltr; color: rgb(0, 0, 10); line-height: 120%; text-align: left; widows: 2; orphans: 2; }p.western { font-family: "Calibri",serif; font-size: 11pt; }p.cjk { font-family: "AR PL UKai CN"; font-size: 11pt; }p.ctl { font-size: 11pt; }

Try using ulimit -s <size> to reduce the Stack Size, e.g. 1M.