java菜鸟篇<二> eclipse启动tomcat报错的问题:Exception: java.lang.OutOfMemoryError thrown from the UncaughtExceptionHandler in thread "main"

9.1今天不知道自己瞎搞eclipse的时候按到了什么键,然后再启动程序的时候就会报错:

如下:

Exception: java.lang.OutOfMemoryError thrown from the UncaughtExceptionHandler in thread "main"(溢出内存错误)

解决方案:

然后就发现自己原来设置扩大堆内存的没有了,要重新设置

如图:

重新启动项目,OK解决了!!哈哈哈

 

posted @ 2016-09-01 18:56  我的少女时代  阅读(17338)  评论(0编辑  收藏  举报