Eclipse 中修改tomcat设置内存大小

Eclipse 中修改tomcat设置内存大小tomcat

修改1:code

在Eclipse中下面Servers双击Tomcat Server... 而后点击General InformAtion 下的Open launch configuration;

会弹出Edit Configuration,而后在选中Arguments选项卡;在VM arguments文本框中最后面添加orm

-Xms256m -Xmx1024m -XX:MaxPermSize=256m (时间能够本身设定)。ip

修改2:内存

在Eclipse菜单栏中Window ——》Preferences ——》Server ———》 Runtime Environment;

选择您用的Tomcat 而后点击Edit...弹出Edit Server Runtime Ecvironment 下面JRE选项后面的Installed JREs...it

点击弹出Installed JREs;在选中您用的Jre在点击Edit..在Defaul VM Arguments:中填入-Xms256m -Xmx512mio

时间能够本身设定。form

最好两个地方都修改,但愿可以帮助到您。cli

相关文章
相关标签/搜索