Increase memory of tomcat7 maven plugin?

前端 未结 3 1457
长发绾君心
长发绾君心 2020-12-10 10:43

I want to start an embedded tomcat7 instance directly from maven using the tomcat7-maven-plugin. This is working fine, but the Tomcat started doesn\'t seem to have enough me

3条回答
  •  一个人的身影
    2020-12-10 11:05

    This one worked for me:

    
        org.codehaus.cargo
        cargo-maven2-plugin
        ...
        
            ...
            
                standalone
                ...
                
                    -Xmx4096m
                
            
            ...
        
    
    

    It starts up my tomcat8 in a new JVM with argument "-Xmx4096m".

提交回复
热议问题