APAR status
Closed as program error.
Error description
Starting in WebSphere release 9.0.5.11, executing JPA queries with the Query Hint "eclipselink.batch" enabled, will cause a memory leak. The contents of a java Map "org.eclipse.persistence.queries.BatchFetchPolicy.dataResults" will grow in size each time the query is executed.
Local fix
N/A
Problem summary
**************************************************************** * USERS AFFECTED: All users of IBM WebSphere Application * * Server - Java Persistence API - * * EclipseLink * **************************************************************** * PROBLEM DESCRIPTION: Eclipselink @BatchFetch API contains * * a memory leak in BatchFetchPolicy. * * This is a regression fix for PH41630. * **************************************************************** * RECOMMENDATION: * **************************************************************** APAR PH41630 contained a fix to org.eclipse.persistence.queries.BatchFe tchPolicy that enabled BatchFetchPolicy.clone() to endlessly add references of itself to a Map object every time a query is executed. This Map eventually fills up with references and an OutOfMemoryException will occur.
Problem conclusion
The fix for this APAR changes the EclipseLink implementation and involves an update to the third-party source. See https://github.com/eclipse-ee4j/eclipselink/issues/1245 This fix is currently targeted for WebSphere Application Server 9.0.5.13 and WebSphere Liberty 22.0.0.8. For more information, see 'Recommended Updates for WebSphere Application Server': https://www.ibm.com/support/pages/node/715553
Temporary fix
Comments
APAR Information
APAR number
PH46751
Reported component name
WEBS APP SERV N
Reported component ID
5724H8800
Reported release
900
Status
CLOSED PER
PE
NoPE
HIPER
NoHIPER
Special Attention
NoSpecatt / Xsystem
Submitted date
2022-05-25
Closed date
2022-08-05
Last modified date
2022-08-05
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
[{"Business Unit":{"code":"BU059","label":"IBM Software w\/o TPS"},"Product":{"code":"SSEQTP","label":"WebSphere Application Server"},"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"9.0","Line of Business":{"code":"LOB45","label":"Automation"}}]
Document Information
Modified date:
06 August 2022