如果您忘记了你要的内存在哪里,实际上,那就是造成你内存泄漏的原因。
If you forget where the memory is that you asked for, in fact, that is how you make a memory leak.
内存泄漏将在集群成员中传播。
内存泄漏将在群集成员中传播。
堆转储,发现内存泄漏时非常有用。
Heap dumps, which are helpful when hunting for memory leaks.
RAD为内存泄漏分析提供了以下视图
应用程序有内存泄漏问题。
下面的列表描述了一些导致内存泄漏的场景。
The following list describes some scenarios that result in memory leaks.
此方法看似容易丢失对象,会导致内存泄漏。
Now, this may seem like an easy way to lose objects, which would result in a memory leak.
这在故障诊断性能问题和内存泄漏时非常有用。
This is very useful when troubleshooting performance problems and memory leaks.
这有助于识别导致内存泄漏的潜在无意对象引用。
This helps identify potential unintentional object references causing memory leaks.
图1显示了由内存泄漏检测特性所产生的示例通知。
Figure 1 shows a sample notification generated by the memory leak detection feature.
泄漏候选视图:确定最有可能造成内存泄漏的对象。
Leak Candidates view: Identifies the objects most likely responsible for memory leaks.
如果发现了内存泄漏,那么会打开并追踪故障报告。
If memory leaks were discovered, bug reports were opened and pursued.
企业应用程序中的内存泄漏会导致大量的危急情况。
Memory leaks in enterprise applications cause a significant number of critical situations.
比较分析非常适合与轻量级内存泄漏检测一起使用。
Comparative analysis is well suited to be used in conjunction with lightweight memory leak detection.
本机内存泄漏。
标识可疑数据结构有助于更好地理解内存泄漏的根源。
Identification of suspected data structures aid in a better understanding of the root cause of a memory leak.
内存泄漏率因负载而异,但泄漏的总内存则不会降低。
The rate of memory leak can vary with load, but the total leaked memory will not drop.
不过,该工具不能帮助确定导致内存泄漏的错误源代码。
However, the tool does not aid in identifying the faulty source code responsible for causing the memory leak.
清单1显示在忘记联接可接合线程时引发的严重内存泄漏。
Listing 1 shows the serious memory leak created if you forget to join joinable threads.
这种内存泄漏很有可能是因未能联接可接合线程而造成的。
And most likely, such a memory leak is caused by a failure to join the joinable threads.
显示内存泄漏疑点的分析结构显示在图2、图3和图4中。
The analysis results showing the memory leak suspects are shown in Figures 2, 3, and 4.
应认真测试每个应用程序,以确保它不存在内存泄漏问题。
Each application should be carefully tested to ensure that it does not suffer from memory leaks.
此程序演示的基本内存泄漏操作涉及缓存对象中的无限增长。
This program demonstrates a basic memory leaking operation involving an unbounded growth in a cache object.
同样,测试完成的详情包括每次运行后的内存泄漏分析的结果。
Also, the test completion details included the results of memory leak analysis following each run.
这种特性特别适用于检测死锁、锁竞争、内存泄漏和循环线程。
It's particularly useful for detecting symptoms of deadlocks, lock contention, memory leaks, and cycling threads.
分析几乎总是会发现某些疑点,但并非全部疑点都是真正的内存泄漏。
The analysis almost always identifies some suspects, but not all of the suspects are true memory leaks.
最有可能的类型是内存问题,如内存泄漏、堆碎片、或者大对象分配。
The most likely type is a memory problem, such as memory leak, heap fragmentation, or large object allocation.
为了防止内存泄漏,必须确保每个分配了内存的对象最终都会被删除。
To prevent memory leaks, you must ensure that each allocated object is eventually deleted.
如果内存泄漏由于某些请求而恶化,可能会不断出现错误并且难以预测。
If the memory leak is exacerbated by certain requests, failures can be intermittent and hard to predict.
应用推荐