我正在尝试启动IBM Websphere的管理员控制台,但它在启动服务器时给我错误,我使用以下命令启动服务器
C:\IBM\WebSphere\AppServer\profiles\AppSr2\bin>startServer.bat server1
ADMU0116I: Tool information is being logged in file
C:\IBM\WebSphere\AppServer\profiles\AppSr2\logs\server1\startServer.log
ADMU0128I: Starting tool with the AppSr2 profile
ADMU3100I: Reading configuration for server: server1
ADMU3200I: Server launched. Waiting for initialization status.
ADMU3011E: Server launched but failed initialization. startServer.log,
SystemOut.log(or job log in zOS) and other log files under
C:\IBM\WebSphere\AppServer\profiles\AppSr2\logs\server1 should
contain failure information. When i looked into log files error is java.lang.OutOfMemoryError. How do i come out of this situation?
答案 0 :(得分:0)
您应该尝试增加JVM堆的初始大小。这可以在位于server.xml
的{{1}}中完成。您应该修改元素WAS_HOME\profiles\PROFILE_NAME\config\cells\CELL_NAME\nodes\NODE_NAME\servers\SERVER
并调整或添加属性<jvmEntries>
:
initialHeapSize
合适的值取决于您的环境。