一、eclipse老是报内存溢出,加大内存
tomcat maven plugin 设置启动内存
tomcat maven plugin 设置启动内存
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>tomcat-maven-plugin</artifactId>
<version>1.1</version>
<configuration>
<path>/</path>
<systemProperties>
<JAVA_OPTS>-Xms512m -Xmx1024m -XX:MaxPermSize=256m</JAVA_OPTS>
</systemProperties>
</configuration>