Exception: java.lang.OutOfMemoryError thrown from the UncaughtExceptionHandler in thread "main"

时间:2024-05-23 12:01:28

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

原因:新启用的tomcat没有设置内存

myeclipse中设置tomcat内存:-Xms512m -Xmx1024m -XX:PermSize=128M -XX:MaxPermSize=256M

Exception: java.lang.OutOfMemoryError thrown from the UncaughtExceptionHandler in thread "main"