Eclipse中设置tomcat的启动内存

it2025-10-01  30

现象:眼下每次使用Eclipse启动Tomcat 的时候常常出现OutOfMemoryError thrown from the UncaughtExceptionHandler in thread ***

解决的方法 在debug Configuration中设置Arguments 以下的VM arguments加上  -Xms512m -Xmx1024m  -XX:MaxPermSize=512m

转载于:https://www.cnblogs.com/bhlsheji/p/4238014.html

最新回复(0)