Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

How to modify the size of Managed Server and Admin Server JVM in WebLogic

2025-04-05 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Internet Technology >

Share

Shulou(Shulou.com)06/01 Report--

This article mainly introduces how to modify the size of Managed Server and Admin Server JVM in WebLogic, which has a certain reference value, interested friends can refer to, I hope you can learn a lot after reading this article, let the editor take you to understand it.

The setting method you can see on the Internet is to add to console:

Add the JVM method separately: log in to console- > Server-> Click bam_server01- > configure-> Server Startup (start), and click "Lock and Edit" in the navigation section to add the Arguments (parameter) item at the bottom.

You can write in the parameter section, such as:

-Xms4096m-Xmx4096m-XX:PermSize=512m-XX:MaxPermSize=1024m

Modifying the Admin_Server using the above method does not work.

It needs to be set in $MW_HOME/user_projects/domains//bin/setDomainEnv.sh. SUN JAVA is used here, and it is 64bit. If it is JROCKIT, then you need to modify the corresponding jrockit.

XMS_SUN_64BIT= "256"

Export XMS_SUN_64BIT

XMS_SUN_32BIT= "256"

Export XMS_SUN_32BIT

XMX_SUN_64BIT= "512"

Export XMX_SUN_64BIT

XMX_SUN_32BIT= "512"

Export XMX_SUN_32BIT

XMS_JROCKIT_64BIT= "256"

Export XMS_JROCKIT_64BIT

XMS_JROCKIT_32BIT= "256"

Export XMS_JROCKIT_32BIT

XMX_JROCKIT_64BIT= "512"

Export XMX_JROCKIT_64BIT

XMX_JROCKIT_32BIT= "512"

Export XMX_JROCKIT_32BIT

Modified to:

XMS_SUN_64BIT= "1024"

Export XMS_SUN_64BIT

XMS_SUN_32BIT= "512"

Export XMS_SUN_32BIT

XMX_SUN_64BIT= "2048"

Export XMX_SUN_64BIT

XMX_SUN_32BIT= "1024"

Export XMX_SUN_32BIT

XMS_JROCKIT_64BIT= "512"

Export XMS_JROCKIT_64BIT

XMS_JROCKIT_32BIT= "512"

Export XMS_JROCKIT_32BIT

XMX_JROCKIT_64BIT= "1024"

Export XMX_JROCKIT_64BIT

XMX_JROCKIT_32BIT= "1024"

Export XMX_JROCKIT_32BIT

If you need to modify the PermSize, you can modify the value of the following 64BIT section of the setDomainEnv.sh.

MEM_PERM_SIZE_64BIT= "- XX:PermSize=1024m"

Export MEM_PERM_SIZE_64BIT

MEM_PERM_SIZE_32BIT= "- XX:PermSize=1024m"

Export MEM_PERM_SIZE_32BIT

MEM_MAX_PERM_SIZE_64BIT= "- XX:MaxPermSize=1024m"

Export MEM_MAX_PERM_SIZE_64BIT

MEM_MAX_PERM_SIZE_32BIT= "- XX:MaxPermSize=1024m"

Export MEM_MAX_PERM_SIZE_32BIT

Thank you for reading this article carefully. I hope the article "how to modify the size of Managed Server and Admin Server JVM in WebLogic" shared by the editor will be helpful to you. At the same time, I also hope you will support us and pay attention to the industry information channel. More related knowledge is waiting for you to learn!

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Internet Technology

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report