Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to monitor or visualize memory fragmentation of a delphi application

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

like image 442
Heinz Z. Avatar asked Nov 09 '09 15:11

Heinz Z.


1 Answers

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.

like image 50
mj2008 Avatar answered Oct 24 '22 00:10

mj2008