Open source software supply chain lighting plan, waiting for you>>>
Permsize memory allocation is too small( Non heap memory)
permsize and maxpermsize indicate that the virtual machine allocates memory limits for Java permanent generation objects such as class objects and method objects, which are not included in heap memory
Modifying Tomcat memory configuration
Service startup
· open the registration list editor and find the following location: HKEY_ LOCAL_ The win7 x64 system is located in HKEY_ LOCAL_ MACHINE\SOFTWARE\Wow6432Node\Apache Software Foundation\Procrun 2.0\tomcat6\Parameters\Java)
Double click the “options” key in the right window, add the following line:
· – XX: permsize = 256M
· – XX: maxpermsize = 512M
· modify jvmms, decimal is 1024
jvmmx, decimal is 2048
command start
if it is started from the command line, you need to set Java in catalina.bat_ OPTS=-Xms1024m -Xmx2048m -XX:PermSize=256m -XX:MaxPermSize=512m
Similar Posts:
- Eclipse failed to create the java virtual machine [How to Solve]
- eclipse.ini/myeclipse.ini -Xms,-Xmx,-PerSize
- tomcat PermGen space
- Java.lang.outofmemoryerror: permgen space and its solution in eclipse + Maven environment
- Investigation on the error caused by: java.lang.outofmemoryerror: Java heap space of Tomcat Java application in production environment
- Record a JVM memory overflow java.lang.outofmemoryerror: GC overhead limit exceeded
- NPM Command Error: Allocation failed – JavaScript heap out of memory
- How to Solve JAVA Error: “Too small initial heap”
- Multiple JDK switch and solution of could not find java.dll exception in win10 environment
- [Solved] jmeter Stress Test Error: java.net.BindException: Address already in use: connect