If you forget where the memory is that you asked for, in fact, that is how you make a memory leak.
如果您忘记了你要的内存在哪里,实际上,那就是造成你内存泄漏的原因。
这是很严重的内存泄漏。
Identify where the memory leak is.
确定内存泄漏的位置。
Case study: Diagnose a memory leak.
案例研究:诊断内存泄露。
Memory leak under -manage repaired.
在-manage模式下的内存泄露得到修复。
A memory leak detector for moonlight.
Monolight的内存泄露检测工具。
For example, does it have a memory leak?
举个例子,我们能保证不存在内存泄漏吗?
Guard against potential native memory leak.
注意预防潜在的本地内存泄露。
This will result in a memory leak of 10 bytes.
这会导致10个字节的内存泄漏。
Listing 2 shows a program that has a memory leak.
清单2展示了一个有内存泄漏的程序。
Could these situations be signs of a memory leak?
这些情况是内存漏洞的征兆吗?
Such objects do not always signify a memory leak.
此类对象并不总是意味着内存泄漏。
内存泄漏。
RAD offers the following views for memory leak analysis
RAD为内存泄漏分析提供了以下视图
Diagnosing a memory leak is usually pretty straightforward.
通常,诊断内存泄露非常简单。
In some cases this can add up to a significant memory leak.
在某些情况下,这会显著加剧内存泄漏。
The upward-sloping trend is a telltale sign of a memory leak.
上升趋势是存在内存泄漏的警示信号。
Figure 6: VisualVM memory chart after fixing the memory leak.
图6:修复内存泄露问题后的VisualVM内存图。
This type of memory leak is referred to as a native memory leak.
这种类型的内存泄漏称为本机内存泄漏。
You can see the steady rise, indicative of a potential memory leak.
您可以看到稳定的对象增加,表明存在潜在的内存泄漏。
This class has plenty of problems, but let's focus on the memory leak.
这个类存在很多的问题,但是我们着重来看内存泄漏。
Case study 1: memory leak analysis for the MyClass memory leak example.
案例研究1:myclass内存泄漏示例的内存泄漏分析。
If the references weren't weak, the application would have a memory leak.
如果引用不弱,那么应用程序会有内存泄漏。
Notice that the reason the task was generated is a memory leak condition.
注意,生成任务的原因是内存溢出这一条件。
The code shown in Listing 1 shows both a memory leak and a dangling pointer.
显示在列表1中的代码展示了一个内存渗漏和一个不断摆动的指针。
YAMD shows that we have already freed the memory, and there is a memory leak.
YAMD显示我们已经释放了内存,而且存在内存泄漏。
The analysis results (not shown here) indicate a memory leak in the application.
这个分析结果(这里没有显示)表明应用程序存在内存泄漏。
The memory leak detection rule was designed in accordance with a simple philosophy.
内存泄漏检测规则是按照一种简单的理念设计的。
Figure 1 shows a sample notification generated by the memory leak detection feature.
图1显示了由内存泄漏检测特性所产生的示例通知。
As a result, the address of the second block is lost, and there is a memory leak.
结果,第二个内存块的地址丢失,从而产生了内存泄漏。
应用推荐