`
gutou9
  • 浏览: 139320 次
  • 性别: Icon_minigender_1
  • 来自: 大连
社区版块
存档分类
最新评论

This is very likely to create a memory leak ?

 
阅读更多
用tomcat的时候,
有时候提示如下信息,tomcat也变得越来越慢。

 

The web application appears to have started a thread named *** but has failed to stop it. This is very likely to create a memory leak

 

研究了一下,大概是因为我们每次改代码后,tomcat自动重新部署(我用eclipse),在这个重新部署的过程中,有的对象无法完成垃圾回收,导致内存泄漏。

 

如果是这样,那这个问题应该只会影响本地开发环境。

可以忽略,不会影响生产环境(不在生产环境改代码热部署),

本地开发环境的话,重启一下tomcat即可。

 

 

1
0
分享到:
评论
1 楼 qinjian379 2016-12-30  
也不一定,有时候memory leak严重的情况下,是会影响tomcat启动的。最好在项目里写个监听处理这个事。

相关推荐

    微软内部资料-SQL性能优化2

    A 32-bit process is normally limited to addressing 2 gigabytes (GB) of memory, or 3 GB if the system was booted using the /3G boot switch even if there is more physical memory available. By leveraging...

    How to be a Programmer

    I confine myself to problems that a programmer is very likely to have to face in her work. Many of these problems and their solutions are so general to the human condition that I will probably seem ...

    《算法导论》 答案 Solutions for Introduction to algorithms second edition

    It is very likely that there are many errors and that the solutions are wrong. If you have found an error , have a better solution or wish to contribute in some constructive way please send a message...

    Axure RP帮助文档

    初步了解Axure RP,让你了解他的控件和使用。对于初学者有一定帮助。

    Applied Text Analysis with Python

    is very likely to be an institution that produces fiscal and monetary tools in an economics, financial, or political domain, whereas in an aviation or vehicular domain it is more likely to be a form ...

    SenchaSDKTools-2.0.0-Beta-windows

    SenchaSDKTools-2.0.0-Beta-windows

    算法导论答案 麻省理工

    It is very likely that there are many errors and that the solutions are wrong. If you have found an error, have a better solution or wish to contribute in some constructive way please send a message ...

    算法导论习题答案

    It is very likely that there are many errors and that the solutions are wrong. If you have found an error, have a better solution or wish to contribute in some constructive way please send a message ...

    Android代码-dante

    This is the very first release of Dante, the api will (most likely) change for the better with successive iterations. Installation Simply add the following to your build.gradle: repositories { ...

    算法导论习题答案(英文版)

    It is very likely that there are many errors and that the solutions are wrong. If you have found an error, have a better solution or wish to contribute in some constructive way please send a message ...

    算法导论MIT版答案(英文版)

    It is very likely that there are many errors and that the solutions are wrong. If you have found an error , have a better solution or wish to contribute in some constructive way please send a message...

    算法导论习题答案第二版英文

    It is very likely that there are many errors and that the solutions are wrong. If you have found an error, have a better solution or wish to contribute in some constructive way please send a message ...

    《算法导论》习题解答.rar

    It is very likely that there are many errors and that the solutions are wrong. If you have found an error, have a better solution or wish to contribute in some constructive way please send a message ...

    算法导论第二版习题答案

    It is very likely that there are many errors and that the solutions are wrong. If you have found an error , have a better solution or wish to contribute in some constructive way please send a message...

    算法导论第二版中英文答案

    It is very likely that there are many errors and that the solutions are wrong. If you have found an error, have a better solution or wish to contribute in some constructive way please send a message ...

    Linux device driver 3nd(EN)

    This is, on the surface, a book about writing device drivers for the Linux system. That is a worthy goal, of ...this book, we hope, it is more open and accessible to a larger community of developers

    算法导论答案.pdf

    It is very likely that there are many errors and that the solutions are wrong. If you have found an error, have a better solution or wish to contribute in some constructive way please send a message ...

    MySQL 1Z0-883题库DEMO

    One way to increase availability is to create a cluster or pool of servers and add a load-balancing solution. If one server fails, the other servers take over its load. It is generally a good idea to...

    程序员面试刷题的书哪个好-Front-end-questions-to-the-interview-stage:前端问题到面试阶段

    程序员面试刷题的书哪个好 开了交流群啦,欢迎加入交流心得 QQ群365780609 ...likely to cause a memory leak. 闭包有三个特性: Closures have three characteristics: 1.函数嵌套函数 2.函数内部可以

    Big Data SMACK_ A Guide to Apache Spark, Mesos, Akka, Cassandra, and Kafka.pdf

    organizations and fortunately for developers, there is a very low offering. Traditionally, large volumes of information have been handled by specialized scientists and people with a PhD from the most ...

Global site tag (gtag.js) - Google Analytics