How to monitor or visualize memory fragmentation of a delphi application

混江龙づ霸主 提交于 2019-12-18 12:24:04

问题


How can I monitor or visualize memory fragmentation of a delphi application?


回答1:


Most Delphi applications use FastMM now, and if you have the source code version linked in you can use the FastMMUsageTracker.pas file which creates a separate window showing how memory is used updated every second or so.

I took the code in that file and created a version which logs to file, so that I could use it in a service, but for a desktop app that standard tracker will work well.



来源:https://stackoverflow.com/questions/1701671/how-to-monitor-or-visualize-memory-fragmentation-of-a-delphi-application

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!