BW engine Stops responding PermGen space java.lang.OutOfMemoryError: PermGen space.

BW engine Stops responding PermGen space java.lang.OutOfMemoryError: PermGen space.

book

Article ID: KB0088108

calendar_today

Updated On:

Products Versions
TIBCO ActiveMatrix BusinessWorks -
Not Applicable -

Description

Resolution:
Description
=======
Using any tool/API that sends unique namespace prefixes on each Web Service request 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 and possibly other versions running on any operating system.

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

Resolution

======

Set the following property:


java.property.org.apache.xerces.xni.parser.XMLParserConfiguration=com.tibco.xerces.parsers.TibcoSoftReferenceSymbolTableConfiguration

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

Issue/Introduction

BW engine Stops responding PermGen space java.lang.OutOfMemoryError: PermGen space.