APAR status
Closed as program error.
Error description
There are frequent java.lang.OutOfMemoryErrors thrown from the
application. The application makes use of xerces/xalan calls
and often gets an ArrayIndexOutOfBounds error. This is being
thrown in the finalizer method of a XSLT4J (xalan.jar) method.
.
The java heapdump shows that a large amount of memory is held
by the root
Addr Size Root-owner Parent Total-size Name
----------------------------------------------------------------
R 0x30487318 256 - - 163,950,944 class
java/lang/ref/Finalizer
.
and of this memory, the following is observed
Count Total-size Type Name
----------------------------------------------------------------
-
781,414 96,086,480 primitive array
761,230 24,359,360 java/lang/String
619,355 19,819,360 java/util/Hashtable$Entry
6,757 3,774,416 array of java/util/Hashtable$Entry
45,916 3,152,512 array of java/lang/Object
10,864 2,250,320 array of java/util/HashMap$Entry
22,442 1,436,288
org/apache/xerces/dom/DeferredElementNSImpl
.
The problem is in the xalan that is provided with WebSphere
Application Server. The problem exists in the XSLT4J that
is provided with WAS. Prior to WAS 5.0.2.11, the version of
XSLT4J is version: XSLT4J 2.3.14.
Local fix Problem summary
****************************************************************
* USERS AFFECTED: Users of WebSphere application server *
* version 5.02.x *
****************************************************************
* PROBLEM DESCRIPTION: Stress testing shows a memory leak in *
* the Xerces parser. *
****************************************************************
* RECOMMENDATION: *
****************************************************************
A memory leak exists in the Xerces XML parser.
The symptom of this problem is increased memory usage.
The problem was detected via an introscope report:
Introscope.report.txt shows this message:
---
3/11/05 9:29:32 AM CST
Potential leak identified
Assigned ID: <init>-7413#1
Collection Class: java.util.Hashtable
Allocation Method: com/ibm/ejs/ras/
ComponentManager.<init>()
Allocation Timestamp: 3/11/05 9:28:02 AM CST
Allocation Stack Trace:
at
com.ibm.ejs.ras.ComponentManager.<init>
(ComponentManager.java:157)
at com.ibm.ejs.ras.Tr.<clinit>(Tr.java:218)
at com.ibm.ejs.ras.RasHelper.setServer
(RasHelper.java:147)
at com.ibm.ws.runtime.WsServer.<clinit>
(WsServer.java:43)
at java.lang.reflect.Method.invoke
(Native Method)
at com.ibm.ws.bootstrap.WSLauncher.main
(WSLauncher.java:94)
Field Name(s):
com/ibm/ejs/ras/ComponentManager.components
---
Problem conclusion
An updated Xerces parser was obtained with a fix for the
problem.
The updated parser was put into the WebSphere 5.0.2.12 service.
Please refer to the recommended updates page for delivery
information:
http://www.ibm.com/support/docview.wss?rs=180&uid=swg27004980
A seperate update will be made through prereq.jdk, in 5.1.x and
future service.
Note that the applicable releases, listed above, have been set
for 5.0.2.x and not for 5.1.x releases. 5.1.x updates are
handled by the component prereq.jdk, subject to further
review.
Temporary fix Comments
APAR information |
APAR number |
PK04480 |
Reported component name |
WAS BASE 5.0 |
Reported component ID |
5630A3600 |
Reported release |
00A |
Status |
CLOSED PER |
PE |
NoPE |
HIPER |
NoHIPER |
Special Attention |
NoSpecatt |
Submitted date |
2005-04-19 |
Closed date |
2005-05-11 |
Last modified date |
2005-06-20 |
APAR is sysrouted FROM one or more of the following:
APAR is sysrouted TO one or more of the following:
Modules/Macros
Publications Referenced
|
Fix information |
Fixed component name |
WAS BASE 5.0 |
Fixed component ID |
5630A3600 |
Applicable component levels |
R003 PSY |
UP |
R00A PSY |
UP |
R00H PSY |
UP |
R00I PSY |
UP |
R00P PSY |
UP |
R00S PSY |
UP |
R00W PSY |
UP |
|