myeclipse maven project to build stuck GC overhead limit exceeded solve the problem

Previously, when using maven project with a direct way is to create a maven project in myeclipse in recently used a method to establish the first web project and then create a mavenproject build Maven

Seeing maven build links, but more narrative click Open

Operating environment: myeclipse2014 + maven 3.5.0 + jdk1.8 + win10

In myeclipse CPU usage to the straight line rising to a new step maven project myeclipse reported 90% of the memory used in 1.3G and then there follows a period of time jammed Error

When this happens, my first thought would not run for too long too much junk store caused no timely recovery

Online solutions are generally found in two

1. Change myeclipse startup parameters such as the -Xmx -Xms this blog for your review can change the startup parameters myeclipse

2. In the Local catalog.xml download file catalog program


If the above two options perfect solution myeclipse maven build error, then of course, is good if you have not solved the problem, then you can continue to read my article

My first argument is the start jvm but I specifically put myeclipse and re-modify the order after the test has been optimized jvm after

Maven build error still has not improved

Then I found a local xml loaded with a second way in the choice of catalog can not even open

But I used this computer is used maven project before being given Why do not I start thinking about this problem because the work with a computer just reinstall the system a lot of things are not in a subsequent re-download

Only a maven of the environment is not the same version before using maven 3.0.2 is a new download when I feel too old under a new version 3.5.0

Sure enough, when I re-exchange maven 3.0.2 version of the project to build the successful final version turned out to be caused by maven test 3.0.2 - 3.3.9 maven error will not occur


Published 15 original articles · won praise 21 · views 30000 +

Guess you like

Origin blog.csdn.net/q690080900/article/details/78722004