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.