简而言之, 存在持续的 handle 泄露
少则 1, 2 千, 多则 5, 6 千, 而且一直不断申请新的 handle,
这样的程序症状会是个什么样的, 比如不稳定, 容易卡死什么的, 还是?

解决方案 »

  1.   

    handle leak,类似于资源泄漏,最终程序可能会发生异常等,
      

  2.   

    内存泄露, 将导致程序无法申请新的内存
    但是 handle 泄露呢? 仅仅导致申请新的 handle 失败, 还是会因为内核资源的耗尽导致其他奇怪问题, 比如程序卡死...?
    现在程序总是出现不规则的卡住问题, 所以想要了解下 handle 泄露相关的知识... 谢谢~
      

  3.   

    "
    A handle leak is a type of software bug that occurs when a computer program asks for a handle to a resource but does not free the handle when it is no longer used. If this occurs frequently or repeatedly over an extended period of time, a large number of handles may be ed in-use and thus unavailable, causing performance problems or a crash.The term is derived from memory leak.
    "
    from wikipedia
    也不是太详细哈...
      

  4.   

     but does not free the handle when it is no longer used.正如ls所说的, 你还是把它在不用的时候free掉, 养成好习惯。
      

  5.   

    gdi句柄资源泄露的厉害的话,白屏,其他资源调用不成功