The solution to the problem of memory overflow when uploading and deploying the war package

Go to the installation directory managed by was:

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

 

Modify the content of the server.xml file and add 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>

 

Guess you like

Origin http://43.154.161.224:23101/article/api/json?id=326166362&siteId=291194637