PQ73288: The utility wsadmin runs out of memory trying to deploy large applications. | |||||||||||||||||||||||||||||||||||||||||||||||
![]() |
|||||||||||||||||||||||||||||||||||||||||||||||
![]() APAR status Closed as program error. Error description The wsadmin script fails when attempting to deploy large applications because it invokes java using the default jvm heap size, which gets exhausted. JVM heap control parameters should be added to the wsadmin script to set the Min and Max heap size and map directly to theLocal fix java param ters, -Xms<size> -Xmx<size>. Depending on size of the applicaton being deployed, the out of memory error may happen at different places during runtime, but this is a typical error: WASX7015E: Exception running command: "$AdminApp taskInfo samp MapWebModToVH"; exception information: com.ibm.bsf.BSFException: error while eval'ing Jacl expression: java.lang.OutOfMemoryError LOCAL FIX:ン Manual edit of wsadmin script. Not acceptable for production deployment.Problem summary **************************************************************** * USERS AFFECTED: WebSphere Application Server users who use * * wsadmin to deploy applications * **************************************************************** * PROBLEM DESCRIPTION: The utility wsadmin runs out of * * memory trying to deploy large * * applications. * **************************************************************** * RECOMMENDATION: * **************************************************************** The wsadmin scripting tool relies on the JVM default heap size specific to the Operating System, and often it is not sufficient. When deploying large applications, the customer sees java.lang.OutOfMemoryError exceptions. Customer can manually edit the wsadmin.sh or bat file to specify more reasonable settings. However, the problem remains that the hard coded value is not flexible.Problem conclusion This fix provides a wsadmin command option -javaoption which is used to specify java standard and non-standard option, for example: wsadmin -javaoption -Xms128m -javaoption -Xmx256m -f myScript.jaclTemporary fix packaged and posted interim fix on pq99999 repository for distri bution to cu to testComments
APAR is sysrouted FROM one or more of the following: APAR is sysrouted TO one or more of the following: Modules/Macros
Publications Referenced
|
Product categories: Software > Application Servers >
Distributed Application & Web Servers > WebSphere Application
Server > General
Operating system(s):
Software version: 00W
Software edition:
Reference #: PQ73288
IBM Group: Software Group
Modified date: May 23, 2003
(C) Copyright IBM Corporation 2000, 2008. All Rights Reserved.