`

SSH整合问题-tomcat内存优化

 
阅读更多
[img]/admin/blogs/D:\img.jpg" alt="[/img]今天碰到个蛋疼的问题--好好的项目放到MyEclipse tomcat下,一启动就报以下错误:


[b]Exception in thread "HouseKeeper" java.lang.OutOfMemoryError: Java heap space

[@YwBaseSoft@]-[ERROR] ContextLoader.initWebApplicationContext(204) | Context initialization failed

org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'org.springframework.aop.framework.autoproxy.BeanNameAutoProxyCreator' defined in ServletContext resource [/WEB-INF/classes/conf/ywduty/spring/transaction-context.xml]: Initialization of bean failed; nested exception is java.lang.OutOfMemoryError: Java heap space

Caused by: 

java.lang.OutOfMemoryError: Java heap space

2012-3-23 16:10:37 org.apache.catalina.core.StandardContext listenerStart

严重: Exception sending context initialized event to listener instance of class org.springframework.web.context.ContextLoaderListener

org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'org.springframework.aop.framework.autoproxy.BeanNameAutoProxyCreator' defined in ServletContext resource [/WEB-INF/classes/conf/ywduty/spring/transaction-context.xml]: Initialization of bean failed; nested exception is java.lang.OutOfMemoryError: Java heap space

Caused by: java.lang.OutOfMemoryError: Java heap space

2012-3-23 16:10:37 org.apache.catalina.core.StandardContext start

严重: Error listenerStart

2012-3-23 16:10:37 org.apache.catalina.core.StandardContext start

严重: Context [/myCopProject_003] startup failed due to previous errors

2012-3-23 16:10:37 org.apache.catalina.core.ApplicationContext log

[/b]


我话费了将近一个下午的时间去调试,就是不正确,后来问一下老程序员,人家一看就给解决了,真是让我佩服的五体投地呀。下面是他帮我解决的思路:就是把MyEclipse tomcat的缓存调大一点。




  • img.rar (29.6 KB)
  • 下载次数: 7
0
0
分享到:
评论

相关推荐

Global site tag (gtag.js) - Google Analytics