tomcat启动问题

2018-5-14 10:58:50 org.apache.catalina.loader.WebappClassLoader clearReferencesJdbc
严重: The web application [/SCM] registered the JBDC driver [com.alibaba.druid.mock.MockDriver] but failed to unregister it when the web application was stopped. To prevent a memory leak, the JDBC Driver has been forcibly unregistered.
2018-5-14 10:58:50 org.apache.catalina.loader.WebappClassLoader clearReferencesJdbc
严重: The web application [/SCM] registered the JBDC driver [com.microsoft.sqlserver.jdbc.SQLServerDriver] but failed to unregister it when the web application was stopped. To prevent a memory leak, the JDBC Driver has been forcibly unregistered.
2018-5-14 10:58:50 org.apache.catalina.loader.WebappClassLoader clearReferencesJdbc
严重: The web application [/SCM] registered the JBDC driver [com.alibaba.druid.proxy.DruidDriver] but failed to unregister it when the web application was stopped. To prevent a memory leak, the JDBC Driver has been forcibly unregistered.
2018-5-14 10:58:50 org.apache.catalina.loader.WebappClassLoader clearReferencesThreads
严重: The web application [/SCM] appears to have started a thread named [DefaultQuartzScheduler_QuartzSchedulerThread] but has failed to stop it. This is very likely to create a memory leak.
2018-5-14 10:58:50 org.apache.catalina.loader.WebappClassLoader clearThreadLocalMap
严重: The web application [/SCM] created a ThreadLocal with key of type [net.sf.json.AbstractJSON$1] (value [net.sf.json.AbstractJSON$1@1b490621]) and a value of type [java.util.HashSet] (value [[]]) but failed to remove it when the web application was stopped. This is very likely to create a memory leak.
2018-5-14 10:59:05 org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor processChildren
严重: Exception invoking periodic operation: 
java.lang.OutOfMemoryError: PermGen space
2018-5-14 10:59:17 org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor processChildren
严重: Exception invoking periodic operation: 
java.lang.OutOfMemoryError: PermGen space

从昨天找到今天,网上所有关于内存泄漏的解决方法都是了不管用

阅读 4.5k
3 个回答

网上所有关于内存泄漏的解决方法都是了不管用的话,你换台电脑试试说不定就没有这个问题了

自己重新dow了下项目好了

错误很明细,永久区内存溢出了,加大一些就可以了。

-XX:MaxPermSize=128m

如果不可以,可能是参数压根就没有加对地方。

撰写回答
你尚未登录,登录后可以
  • 和开发者交流问题的细节
  • 关注并接收问题和回答的更新提醒
  • 参与内容的编辑和改进,让解决方法与时俱进
推荐问题