Exception in thread "http-bio-8082-exec-5" Exception in thread "QuartzScheduler_BUSINESS-sfi-PC15027

错误如下: 
Java.lang.OutOfMemoryError:PermGen space
原因: 
java虚拟机装载类的空间不够,永久内存超出,主要是因为项目功能增加后,加载的jar或class过多造成的。
解决方案: 
增加jvm内存,在maven的run configuration中增加如下配置,扩大初始化内存。 
-Xms1024M -Xmx2048M -XX:PermSize=256M -XX:MaxNewSize=256M -XX:MaxPermSize=512M

在eclipse设置:

Exception in thread "http-bio-8082-exec-5" Exception in thread "QuartzScheduler_BUSINESS-sfi-PC15027


在Idea中设置:

Exception in thread "http-bio-8082-exec-5" Exception in thread "QuartzScheduler_BUSINESS-sfi-PC15027