IBM Support

PM12460; 7.0.0.9: High memory use when annotations are used with Array objects.

Download


Abstract

Extra memory utilization will be seen when annotations are used in relation to an Array type.

Download Description

PM12460 resolves the following problem:

ERROR DESCRIPTION:
Extra memory utilization will be seen when annotations are used in relation to an Array type. A static reference is created to a J2EE module, but this can lead to the associated memory being held on to for a longer duration than needed. In some circumstances, the amount of memory could be significant being withheld could be significant.

LOCAL FIX:
N/A

PROBLEM SUMMARY:

USERS AFFECTED:
All users of IBM WebSphere Application Server who use JavaEE5 enabled applications with annotations.

PROBLEM DESCRIPTION:
Extra memory utilization will be seen when annotations are used in relation to an Array type.

RECOMMENDATION:
None

Extra memory utilization may be seen when java class information is processed for annotation scanning steps, which are performed when loading application and module metadata for JavaEE5 enabled applications and application modules.

Extra allocations occur because of a static cache holding a reference to class information for java.lang.Object. The reference holds a secondary reference to an application module. That causes the first module that was processed for annotations to be held by reference and to prevent that first module from being reclaimed by java garbage collection, even after the application module goes out of use.

The effect is to hold the data for single application in memory. The actual impact depends on the size of the first module to be processed. For small modules, the impact is relatively small (up to several megabytes of unreclaimed allocations). For very typical application modules, the impact can be much larger. When this problem was detected, a memory allocation of slightly more than 60 megabytes was noted.

PROBLEM CONCLUSION:
A code update was made to remove the static reference to class information for java.lang.Object.

The fix for this APAR is currently targeted for inclusion in fix pack 7.0.0.13. Refer to the Recommended Updates page for delivery information:
http://www.ibm.com/support/docview.wss?uid=swg27004980

Prerequisites

PM06623

[{"PRLabel":"UpdateInstaller","PRLang":"US English","PRSize":"7250000","PRPlat":{"label":"AIX","code":"PF002"},"PRURL":"http://www.ibm.com/support/docview.wss?uid=swg21205991"}]

Installation Instructions

Review the readme.txt for detailed installation instructions.

[{"INLabel":"Readme","INLang":"US English","INSize":"7038","INURL":"ftp://public.dhe.ibm.com/software/websphere/appserv/support/fixes/PM12460/readme.txt"}]
On
[{"DNLabel":"7.0.0.9-WS-WAS-IFPM12460","DNDate":"6/11/2010","DNLang":"US English","DNSize":"9142","DNPlat":{"label":"AIX","code":"PF002"},"DNURL":"http://www.ibm.com/support/fixcentral/quickorder?fixids=7.0.0.9-WS-WAS-IFPM12460&product=ibm%2FWebSphere%2FWebSphere%20Application%20Server&source=dbluesearch","DNURL_FTP":"ftp://public.dhe.ibm.com/software/websphere/appserv/support/fixes/PM12460/7.0.0.9-WS-WAS-IFPM12460.pak","DDURL":"http://public.dhe.ibm.com:7618;sw_websphere;appserv/support/fixes/PM12460/7.0.0.9-WS-WAS-IFPM12460.pak"},{"DNLabel":"7.0.0.11-WS-WAS-IFPM12460","DNDate":"6/17/2010","DNLang":"US English","DNSize":"9126","DNPlat":{"label":"AIX","code":"PF002"},"DNURL":"http://www.ibm.com/support/fixcentral/quickorder?fixids=7.0.0.11-WS-WAS-IFPM12460&product=ibm%2FWebSphere%2FWebSphere%20Application%20Server&source=dbluesearch","DNURL_FTP":"ftp://public.dhe.ibm.com/software/websphere/appserv/support/fixes/PM12460/7.0.0.11-WS-WAS-IFPM12460.pak","DDURL":"http://public.dhe.ibm.com:7618;sw_websphere;appserv/support/fixes/PM12460/7.0.0.11-WS-WAS-IFPM12460.pak"}]

Technical Support

Contact IBM Support using SR (http://www.ibm.com/software/support/probsub.html), visit the WebSphere Application Server support web site (http://www.ibm.com/support/entry/portal/Overview/Software/WebSphere/WebSphere_Application_Server), or contact 1-800-IBM-SERV (U.S. only).

[{"Product":{"code":"SSEQTP","label":"WebSphere Application Server"},"Business Unit":{"code":"BU053","label":"Cloud & Data Platform"},"Component":"Deploy (for example: AAT or ANT or EAR\/WAR\/JAR)","Platform":[{"code":"PF002","label":"AIX"},{"code":"PF010","label":"HP-UX"},{"code":"PF012","label":"IBM i"},{"code":"PF016","label":"Linux"},{"code":"PF027","label":"Solaris"},{"code":"PF033","label":"Windows"}],"Version":"7.0.0.9;7.0.0.11","Edition":"Base;Network Deployment","Line of Business":{"code":"LOB45","label":"Automation"}}]

Document Information

Modified date:
15 June 2018

UID

swg24027107