Fixes are available
8.5.5.3: WebSphere Application Server V8.5.5 Fix Pack 3
8.5.5.4: WebSphere Application Server V8.5.5 Fix Pack 4
8.0.0.10: WebSphere Application Server V8.0 Fix Pack 10
8.5.5.5: WebSphere Application Server V8.5.5 Fix Pack 5
8.5.5.6: WebSphere Application Server V8.5.5 Fix Pack 6
8.0.0.11: WebSphere Application Server V8.0 Fix Pack 11
8.5.5.7: WebSphere Application Server V8.5.5 Fix Pack 7
8.5.5.8: WebSphere Application Server V8.5.5 Fix Pack 8
8.0.0.12: WebSphere Application Server V8.0 Fix Pack 12
8.5.5.9: WebSphere Application Server V8.5.5 Fix Pack 9
8.5.5.10: WebSphere Application Server V8.5.5 Fix Pack 10
8.5.5.11: WebSphere Application Server V8.5.5 Fix Pack 11
8.0.0.13: WebSphere Application Server V8.0 Fix Pack 13
8.5.5.12: WebSphere Application Server V8.5.5 Fix Pack 12
8.0.0.14: WebSphere Application Server V8.0 Fix Pack 14
8.5.5.13: WebSphere Application Server V8.5.5 Fix Pack 13
8.0.0.15: WebSphere Application Server V8.0 Fix Pack 15
8.5.5.14: WebSphere Application Server V8.5.5 Fix Pack 14
8.5.5.15: WebSphere Application Server V8.5.5 Fix Pack 15
8.5.5.14: WebSphere Application Server V8.5.5 Fix Pack 14
8.5.5.17: WebSphere Application Server V8.5.5 Fix Pack 17
8.5.5.20: WebSphere Application Server V8.5.5.20
8.5.5.18: WebSphere Application Server V8.5.5 Fix Pack 18
8.5.5.19: WebSphere Application Server V8.5.5 Fix Pack 19
8.5.5.16: WebSphere Application Server V8.5.5 Fix Pack 16
8.5.5.21: WebSphere Application Server V8.5.5.21
APAR status
Closed as program error.
Error description
An OutOfMemoryError occurs when compiling XSL stylsheets with a template match pattern that contains many steps and predicates.
Local fix
text fix was provided and verified
Problem summary
**************************************************************** * USERS AFFECTED: All users of IBM WebSphere Application * * Server V8.0 and V8.5 compiling XSL * * stylsheets with template match patterns * **************************************************************** * PROBLEM DESCRIPTION: OutOfMemoryError when compiling XSL * * stylsheets with template match pattern * * that contains many steps and * * predicates * **************************************************************** * RECOMMENDATION: * **************************************************************** A large amount of memory was consumed when compiling template match patterns with lots of steps and predicates. For example: <xsl:template match="*[local-name()='AAA']/*[local- name()='BBB']/*[local-name()='CCC']/* [local-name()='DDD']/*[local-name()='EEE']/*[local- name()='FFF']/*[local-name()='GGG']/* [local-name()='HHH']/*[local-name()='III']"> A n! algorithm was used to rewrite the predicates. This was the root cause for the high memory usage. As the number of predicates and steps increased, the memory usage also increased, eventually causing the OutOfMemoryError.
Problem conclusion
The n! algorithm was replaced by a much simpler but more efficient algorithm. The memory usage is decreased and the OutOfMemoryError is avoided. The fix for this APAR is currently targeted for inclusion in fix packs 8.0.0.10 and 8.5.5.3. Please refer to the Recommended Updates page for delivery information: http://www.ibm.com/support/docview.wss?rs=180&uid=swg27004980
Temporary fix
Rewriting the match pattern (if possible) to avoid using predicates works around the problem. The above match pattern could be re-written as: <xsl:template match="*:AAA/*:BBB/*:CCC/*:DDD/*:EEE/*:FFF/*:GGG/*:HHH/*:III">
Comments
APAR Information
APAR number
PI18259
Reported component name
WEBS APP SERV N
Reported component ID
5724H8800
Reported release
800
Status
CLOSED PER
PE
NoPE
HIPER
NoHIPER
Special Attention
NoSpecatt
Submitted date
2014-05-20
Closed date
2014-07-10
Last modified date
2014-07-10
APAR is sysrouted FROM one or more of the following:
APAR is sysrouted TO one or more of the following:
Fix information
Fixed component name
WEBS APP SERV N
Fixed component ID
5724H8800
Applicable component levels
R800 PSY
UP
R850 PSY
UP
Document Information
Modified date:
27 April 2022