How to increase memory in weblogic

无人久伴 提交于 2019-11-30 07:23:25

Xss is Thread Stack Size,, it is not the memory size

you can change the memory size by changing the parameters Xmx

the most important parameters are :

-Xms1536m -Xmx1536m -XX:MaxPermSize=512m

Xmx - is the max size of the heap.

Xms - is the initial size of the heap.( give it the same as Xmx )

XX:MaxPermSize - is is used to hold reflective of the VM itself such as class objects and method objects ( it's independent from the heap size,, give it the 1/3 to 1/4 of the Xms size depend in your classes size)

.........

Any Way:

you can change XSS from config.xml

in this path : DOMAIN_NAME/config/config.xml

but you have to shutdown the admin server when you change something in config.xml , then edit the start properties, or add it under <server> if it's not there:

<server-start>
      <arguments>-Xms1536m -Xmx1536m -XX:MaxPermSize=512m -Xss4096k </arguments>
</server-start>

........

[[OR]]

you can change it from the admin console which is easier

access the admin console then go to Environment >> Servers

choose the server you want to change it

form Configuration >> Server Start

you will see box called Arguments:

Add -Xss4096k

Options for the JVM must be set on startup so you need to modify the startup script for WebLogic.

See here:

http://docs.oracle.com/cd/E13222_01/wls/docs100/server_start/overview.html#JavaOptions

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!