对象轮询也可能是内存泄露的原因。
通常,诊断内存泄露非常简单。
内存泄露是相关但更严重的问题。
注意预防潜在的本地内存泄露。
从睡眠模式中唤醒后,造成内存泄露。
案例研究:诊断内存泄露。
Monolight的内存泄露检测工具。
是否会造成内存泄露?
是否发生内存泄露?
否则,很可能导致Web浏览器内的内存泄露。
Otherwise, you might end up with a memory leak in the Web browser.
在-manage模式下的内存泄露得到修复。
你能肯定的知道正在运行的服务里面没有内存泄露吗?
Do you know for sure that there aren't any memory leaks in your running services?
如果不这么做,就会有导致内存泄露的风险。
有关查找和更正内存泄露问题的文章,请参阅参考资料。
See Resources for articles on finding and correcting memory leaks.
图6:修复内存泄露问题后的VisualVM内存图。
Figure 6: VisualVM memory chart after fixing the memory leak.
本例中,我请同事有意给程序增加了一处明显的内存泄露。
For this example I had let a colleague deliberately add a rather large memory leak to the application.
能够检测系统内各个运行进程的内存泄露情况。
Detection system can be run within the process of memory leaks.
如果程序没有把内存释放回系统,则称为内存泄露。
When a program does not release the memory back to the system, it is called a leak.
如以下示例所示,弱引用和软引用都是解决内存泄露的强大工具。
As the following example shows, weak references and soft references are powerful tools for fixing memory leaks.
通过它你可以清晰地看到哪里发生了内存泄露,或者哪里是性能的瓶颈。
This allows you to see exactly where your applications maybe leaking memory or where there might be performance bottlenecks.
就算您竭尽全力完成了上面的步骤,还必须处理指针,并且担心内存泄露!
And say you get through the steps described above, you still have to deal with Pointers and worry about memory leaks!
最佳实践是将每个服务器配置为定期重启,以最小化 “内存泄露”等风险。
Best practice is to configure each server to reboot periodically, to minimise risks from ‘memory leaks’ etc. Recommend doing this via “scheduled tasks” pointing to a batch file for example.
错误检测实例1:RationalPurify内存错误和内存泄露报告。
Error detection example 1: Rational Purify memory error and memory leak reports.
考虑把动画添加到指示器中以获得更加醒目的显示(当心可用库发生内存泄露)。
Consider adding animation to your designators for a more eye-catching display (watch out for memory leaks in the available libraries).
原因是因为一些函数本身导致了内存泄露,尤其是在仅使用内置php函数的情况下。
The reason is because some of the functions cause memory leaks themselves, especially if you're only using built-in PHP functions.
输出:交互式报告,其中显示主要的内存泄露可疑之处,以及有关这些泄露的详细信息。
Output: an interactive report showing the main suspects for memory leak along with detailed information about these leaks.
代码评测器帮助鉴别和优化代码,并且在理解对象使用和潜在内存泄露方面真的很有帮助。
A code profiler helps identify and optimize code hot spots, and really helps in understanding object usage and potential memory leaks.
BleakHouse是帮助发现Rails应用内存泄露的,但不能提供其它性能察看功能。
BleakHouse helps to discover memory leaks in Rails applications but provides no other performance insights.
分析开发过程中常遇的内存泄露和内存越界等问题,提出一种有效的内存管理方案。
The paper analyses memory leakage and out of range problems in software development, and provides a new scheme to effectively manage memory.
开发团队还将继续致力于解决一些容器内存泄露的常见问题,改善日志系统,改善容器启动时间。
The development team have also continued to work on common problems with memory leaks in the container, improved the logging system, and improved the container start-up times.
应用推荐