Eclipse修改tomcat设置内存大小

修改1:

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

弹出Edit Configuration,然后在选中Atguments选项卡;

在VM atguments文本框中最后面添加 -Xms256m -Xmx1024m -XX:MaxPermSize=256m。

修改2:

在Eclipse菜单栏中Window -> Preferences -> Server -> Runtime Environment;

选择您用的Tomcat 然后点击Edit;

弹出Edit Server Runtime Ecvironment 下面JRE选项后面的Installed JREs;

点击弹出Installed JREs;

在选中您用的Tomcat在点击Edit;

在Defaul VM Atguments:中填入-Xms256m -Xmx512m。

版权声明:
作者:骁淞
链接:https://www.xiaosongsoft.com/index.php/2021/07/15/eclipsexgtomcatszncdx/
来源:骁淞软件中心
文章版权归作者所有,未经允许请勿转载。

THE END
分享
二维码
< <上一篇
下一篇>>