首页> 外文期刊>MSDN Magazine >Memory Usage Auditing For .NET Applications
【24h】

Memory Usage Auditing For .NET Applications

机译:.NET应用程序的内存使用情况审核

获取原文
获取原文并翻译 | 示例

摘要

Memory issues are notoriously difficult to debug. If your application is large enough to care about memory, the key is to limit memory usage in the early stages of development. Understanding how application memory is broken down is the first step in this process; monitoring application memory usage is next. Follow that with identifying opportunities by asking questions about which DLLs contribute the most to memory consumption, why Gen2 GC's are happening so frequently, are your memory allocations pay for play, and so forth. Then optimize memory usage appropriately. If you take away only one lesson, it should be that the time spent early in the development cycle on memory issues pays for itself later, so it really pays to think about memory early!
机译:众所周知,内存问题很难调试。如果您的应用程序足够大以关心内存,那么关键是在开发的早期阶段限制内存的使用。了解应用程序内存的分解方式是此过程的第一步。接下来是监视应用程序内存使用情况。接着,通过询问有关哪些DLL造成内存消耗最大的问题,Gen2 GC为何如此频繁发生,您的内存分配是否值得付费等问题来寻找机会。然后适当地优化内存使用。如果您仅吸取一堂课,那应该是在开发周期的早期花在内存问题上的时间才是值得的,因此,尽早考虑内存确实值得!

著录项

相似文献

  • 外文文献
  • 中文文献
  • 专利
获取原文

客服邮箱:kefu@zhangqiaokeyan.com

京公网安备:11010802029741号 ICP备案号:京ICP备15016152号-6 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号