BW engine stops responding due to PermGen space java.lang.OutOfMemoryError.

BW engine stops responding due to PermGen space java.lang.OutOfMemoryError.

book

Article ID: KB0088051

calendar_today

Updated On:

Products Versions
TIBCO ActiveMatrix BusinessWorks -
Not Applicable -

Description

Resolution:
Description
========
If a customer is using any tool/API that sends unique namespace prefixes on each Web Service request, this will cause a memory leak which will eventually make the BW engine unresponsive. The BW engine may also throw exceptions on deserializing SOAP messages due to lack of memory.

Environment
=========
TIBCO BusinessWorks 5.9.3.

Cause
=====
Caused by any tool/API that sends unique namespace prefixes on each Web Service request.

Resolution
=======
To resolve this issue you can set the property below:

java.property.org.apache.xerces.xni.parser.XMLParserConfiguration=org.apache.xerces.parsers.SoftReferenceSymbolTableConfiguration

When the above property is set, namespace strings in memory will be cleared when the memory use is close to 100%. BW service should continue to function as normal.

Issue/Introduction

BW engine stops responding due to PermGen space java.lang.OutOfMemoryError.