Java – Weblogic increases memory

How to increase the memory used by Weblogic (Java) When starting the server from eclipse, it displays a message, that is, the JAVA memory parameter: - xms256m - xmx512m - XX: maxpermsize = 256M I can't understand where it gets value After some time, the WebLogic Server failed due to low permgen space

I added startup parameters from the console, but it had no effect Where can you get the memory value to help me@ H_ 403_ 3@

Solution

When configuring the server in eclipse for Weblogic, select the domain directory (for local) This domain directory contains the startup script that eclipse will use to start WebLogic Server If you start the server without eclipse, these scripts are the same as those you will use Within the domain directory is a folder named "bin" In the "bin" directory, find the setdomainenv file (. Sh for UNIX, or. CMD for Windows) In this file, change the memory settings to meet your needs

According to the error message you mentioned in the question, I will increase the permsize and maxpermsize settings to 512M For permsize and maxpermsize, by default, there are two locations in a simple WLS installation, one for 32-bit and the other for 64 bit Changing them is not harmful However, if you know the running JVM architecture, you can change the architecture that applies to your environment@ H_ 403_ 3@

The content of this article comes from the network collection of netizens. It is used as a learning reference. The copyright belongs to the original author.
THE END
分享
二维码
< <上一篇
下一篇>>