`
gutou9
  • 浏览: 148694 次
  • 性别: 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...

    BURNINTEST--硬件检测工具

    This is a shareware program. This means that you need to buy it if you would like to continue using it after the evaluation period. Installation ============ 1) Uninstall any previous version of ...

    acpi控制笔记本风扇转速

    Fixed a possible memory leak and fault in AcpiExResolveObjectToValue during a read from a buffer or region field. (BZ 458) Fiodor Suietov. Example Code and Data Size: These are the sizes for the OS- ...

    php.ini-development

    Note: This directive is hardcoded to Off for the CLI SAPI ; Default Value: Off ; Development Value: 4096 ; Production Value: 4096 ; http://php.net/output-buffering output_buffering = 4096 ; You can ...

    FlexGraphics_V_1.79_D4-XE10.2_Downloadly.ir

    items a blank line is added to the list (EnumProp.Add('')). - ADD: Added the method TEnumProp.SetEnumType, setting all enumerable type items in compliance with the Delphi type: SetEnumType...

Global site tag (gtag.js) - Google Analytics