Eclipse中设置tomcat的启动内存

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

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

posted @ 2015-01-21 09:28  phlsheji  阅读(192)  评论(0编辑  收藏  举报