欢迎您访问程序员文章站本站旨在为大家提供分享程序员计算机编程知识!
您现在的位置是: 首页

was 上传部署war包时报内存溢出的问题解决办法

程序员文章站 2022-07-13 09:40:37
...

到was管理的安装目录:

/opt/IBM/WebSphere/AppServer/profiles/Dmgr01/config/cells/sbhxtyfwpt-01Cell01/nodes/sbhxtyfwpt-01CellManager01/servers/dmgr/

 

修改server.xml文件的内容  增加  initialHeapSize="512" maximumHeapSize="512"

 

<jvmEntries xmi:id="JavaVirtualMachine_1" initialHeapSize="512" maximumHeapSize="512" verboseModeClass="false" verboseModeGarbageCollection="false" verboseModeJNI="false" runHProf="false" hprofArguments="" debugMode="false" debugArgs="-Djava.compiler=NONE -Xdebug -Xnoagent -Xrunjdwp:transport=dt_socket,server=y,suspend=n,address=7792" genericJvmArguments="">

      <systemProperties xmi:id="Property_15" name="com.ibm.security.jgss.debug" value="off" required="false"/>

      <systemProperties xmi:id="Property_16" name="com.ibm.security.krb5.Krb5Debug" value="off" required="false"/>

      <systemProperties xmi:id="Property_1503889844279" name="java.awt.headless" value="true"/>

    </jvmEntries>