Failures in the IDEA by Maven package of large projects

 

Today at the completion of the company to develop a feature, ready packaged with Maven, then an error in the process of packaging the: OutOfMemoryError. As shown below:

 

Later, after we find information, find what parameters can be configured Maven to resolve this issue.

Configuration parameters are:

-server
-Xms128m
-Xmx1024m
-XX:PermSize=128m
-XX:MaxNewSize=256m
-XX:MaxPermSize=1024

 

After the run time when the shortage of large projects Maven reporting system resources can be configured at this parameter.

 

Guess you like

Origin www.cnblogs.com/q964024886/p/11433244.html