This is a handy memory/handle usage logging tool, written in Delphi, but can be linked to a C++ application.The resources that will can be logged are GDI and User Handles (mainly, window handles), dump all the application's virtual memory usage, thread count etc. The zip file contains a few units, for simple logging of the various OS resource values. I also added a code for a package, installable in the IDE. (If you have Delphi or RADStudio, if want to use it, directly. I have also added a C++ package that can be installed into the IDE with memory logging code. This will output GDI and User Handle information into the Messages Pane, every time you switch to a new project. A log file will be created in the "C:\temp" directory as default, you can modify this location in "IDELogMemoryUsageUnit.pas". You can also log memory usage after each codesight compile but this makes for very big logs.There is also a small console mode application. I used created the package track various memory issues in the IDE.
↧