还有一些其他的情况可以类似地忽略或破坏对象生命周期管理,并导致内存泄漏。
There are other idioms that can similarly ignore or subvert object lifecycle management and can also lead to memory leaks.
在非垃圾收集语言中需要避免两个主要的内存管理危险:内存泄漏和悬空指针。
There are two major memory-management hazards to avoid in non-garbage-collected languages: memory leaks and dangling Pointers.
一种示例策略通过取得多个堆转储(使用工作负载管理来维护应用程序的性能)以进行分析,从而对内存泄漏通知做出反应。
On example policy would react to a memory leak notification by taking multiple heap dumps (using workload management to maintain the performance of the application) for analysis.
应用推荐