我正在尝试启动 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?
您应该尝试增加 JVM 堆的初始大小。这可以在位于
server.xml
的 WAS_HOME\profiles\PROFILE_NAME\config\cells\CELL_NAME\nodes\NODE_NAME\servers\SERVER
中完成。您应该修改元素<jvmEntries>
并调整或添加属性initialHeapSize
:
<jvmEntries initialHeapSize="1024">
合适的值取决于您的环境。