Reason one: May be the machine is not enough memory
Reason two: May be the program into the dead loop state, this time need to check whether the code has a problem.
Solution One: Modify the configuration content, make it larger
1. Open the installation directory for Eclipse, locate the Eclipse.ini file, and open
We can see the following section of configuration information
OpenFile
--launcher. Xxmaxpermsize
256M
-showsplash
org.eclipse.platform
--launcher. Xxmaxpermsize
256m
--launcher.defaultaction
openfile
--launcher.appendvmargs
-vmargs
-dosgi.requiredjavaversion=1.6
-xms40m
-xmx512m
The parameters inside it are changed to:
OpenFile
--launcher. Xxmaxpermsize
512M
-showsplash
org.eclipse.platform
--launcher. Xxmaxpermsize
512m
--launcher.defaultaction
openfile
--launcher.appendvmargs
-vmargs
-dosgi.requiredjavaversion=1.6
-xms128m
-xmx1024m
2. Turn on Tomcat configuration
3. Next to the VM Arguments box under the Arguments tab box, follow your own Tomcat startup virtual machine parameters:-xms128m-xmx1024m-xx:maxpermsize=512m
Solution Two: Every time you open the server need clean memory, this method is too troublesome.