如果您忘记了你要的内存在哪里,实际上,那就是造成你内存泄漏的原因。
If you forget where the memory is that you asked for, in fact, that is how you make a memory leak.
此类对象并不总是意味着内存泄漏。
此视图是识别内存泄漏的起点。
This view is the starting point for identifying memory leaks.
内存泄漏将在集群成员中传播。
内存泄漏将在群集成员中传播。
这会导致10个字节的内存泄漏。
堆转储,发现内存泄漏时非常有用。
Heap dumps, which are helpful when hunting for memory leaks.
否则,将引发严重的内存泄漏问题。
清单2展示了一个有内存泄漏的程序。
上升趋势是存在内存泄漏的警示信号。
The upward-sloping trend is a telltale sign of a memory leak.
内存泄漏可能真正令人讨厌。
应用程序有内存泄漏问题。
在某些情况下,这会显著加剧内存泄漏。
这种类型的内存泄漏称为本机内存泄漏。
This type of memory leak is referred to as a native memory leak.
内存泄漏是导致性能问题的另一可能原因。
Memory leaks are another possible cause of performance problems.
这是很严重的内存泄漏。
下面的列表描述了一些导致内存泄漏的场景。
The following list describes some scenarios that result in memory leaks.
确定内存泄漏的位置。
如果引用不弱,那么应用程序会有内存泄漏。
If the references weren't weak, the application would have a memory leak.
不需要担心内存泄漏。
此方法看似容易丢失对象,会导致内存泄漏。
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.
内存泄漏在哪发生?
内存泄漏本身不会出现在. NET应用程序中。
图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.
本机内存泄漏。
这个类存在很多的问题,但是我们着重来看内存泄漏。
This class has plenty of problems, but let's focus on the memory leak.
您可以看到稳定的对象增加,表明存在潜在的内存泄漏。
You can see the steady rise, indicative of a potential memory leak.
应用推荐