1. Configure the size of this part of heap memory through the JVM parameter – XX: maxpermsize = 256M.
2. How to configure the memory size of Tomcat in eclipse?
First, you need to double-click Tomcat server, as shown in the figure below:
Double click the figure above to display the Tomcat configuration interface
Then, click the link in the red rectangular box in the figure above, and the node of Tomcat parameter configuration will pop up. To select the arguments parameter box:
As shown in the figure above, you can set the value of – XX: maxpermsize = 256M in the VM arguments text box. Of course, you can add other JVM parameters, such as maximum memory, minimum memory, etc.
Read More:
- Error in idea compilation: java.lang.OutOfMemoryError Java heap space and java.lang.StackOverflowError
- Differences between Java stack overflow ror and outofmemoryerror
- Java:java.lang.OutOfMemoryError : GC overhead limit exceeded solution
- Namenode startup error: outofmemoryerror: Java heap space
- The difference, cause and solution of memory overflow and memory leak
- Error when idea starts: Java: outofmemoryerror: insufficient memory
- Java. Lang. outofmemoryerror when using idea build project
- Error report in idea compilation Error:Android Dex : [Project] java.lang.OutOfMemoryError : GC overhead limit exceeded
- Fatal error: Newspace:: rebalance allocation failed – process out of memory (memory overflow)
- Solution of insufficient memory space or desktop stack in GX works2
- Out of memory overflow solution for idea running error
- The web project removal server reports an error, and the web project in eclipse cannot be automatically deployed to Tomcat
- After eclipse eclipse eclipse imports the correct project, an error is reported in XML and other files
- Set code indent to space indent in eclipse
- Start Tomcat and report error occurred during initialization of VM could not reserve enough space for object
- Eclipse port occupied( java.net.BindException : address already in use: bind) solution
- The solution to “polling news feeds” appeared in Eclipse in Java
- Solution in idea java.lang.ClassNotFoundException : org.springframework.web . context.ContextLoaderListener
- The solution of a Java exception has occurred. And error exception in thread when eclipse runs
- An error occurred when starting Tomcat in Eclipse: the sub container failed to start