Http://www.finereporthelp.com/help/4/0/2/5.html#a:2.
After Weblogic is deployed Program If the default memory size is too small, the memory may overflow, resulting in a false state, you need to modify the Weblogic Memory Access Mechanism to expand the default memory size. How to modify it? You may also want to change the port number of the server for convenience, instead of using the default port number of the server. How can you modify this? The following describes how to modify the memory and port number of the WebLogic Server.
1. Modify the Weblogic server port number
1.1 open the console to start the server and open the Weblogic console. The default address is Http: // localhost: 7001/console . For details, see WebLogic Server deployment.
1.2 modify the port number to enter the console and select Environment> Server , Enter Examplesserver Management And then modify the port number at the listening port. For example, if the default port number of Weblogic is 7001, you can modify 7001 here. For example: After modifying the port number, remember to activate the modification to take effect.
2. Modify WebLogic Server Memory
2.1 modify the memory configuration of the commenv. CMD file after Weblogic is installed Bea \ wlserver_10.0 \ common \ bin Find Commenv. cmd File, Edit To modify part of the memory, as shown in Code . Modify the size of the memory configuration identified in to the desired size, for example: Note: There are two JVM memory settings in this configuration file, one built-in Virtual Machine in Weblogic and several virtual machines in the Local Machine, depending on which of the following is WebLogic used, only to know which modification is valid. By default, sun's JVM is used. It is recommended that all modifications be consistent.
2.2 modify the code of the setdomainenv. CMD file in the installation directory Bea \ user_projects \ Domains \ xxx_domain \ bin Find Setdomainenv. cmd File. The code is modified as follows:
- Set mem_args =-xms512m-xmx1024m
- Set mem_perm_size =-XX: permsize = 128 m
- Set mem_max_perm_size =-XX: maxpermsize = 256 m
2.3 check the effect after the above two steps are modified, the Weblogic memory configuration has been modified, and you can see your memory when starting weblogic. WebLogic can set-XMS (minimum memory usage)-xmx (maximum memory usage) and-XX: maxpermsize. Maximum memory usage: for UNIX, generally, it should not exceed 75% of the physical memory; for Windows, it should not exceed 50% of the physical memory;-XX: maxpermsize should generally be ms (maximum memory usage) half.