I know we already have a memory checker listed here, but I aways use Snoop http://rmarshsj.f2s.com/rob/2001/06/...-leak-sniffer/
It's a really nice little tool for Delphi.
I know we already have a memory checker listed here, but I aways use Snoop http://rmarshsj.f2s.com/rob/2001/06/...-leak-sniffer/
It's a really nice little tool for Delphi.
<A HREF="http://www.myhpf.co.uk/banner.asp?friend=139328">
<br /><IMG SRC="http://www.myhpf.co.uk/banners/60x468.gif" BORDER="0">
<br /></A>
In Delphi 2006 you can enable memory leak detection by adding this line at program start:
The above has been implemented from Fast Memory Manager for Delphi, which also provides the feature (you have to turn debug mode ON in options file). It can also detect other things, like modifying a released part of memory and so on.Code:ReportMemoryLeaksOnShutdown:= True;
Cool, I need to update to delphi 2006
NecroSOFT - End of line -
heres some sample output from the delphi 2006 one, not very helpfull :/
---------------------------
Unexpected Memory Leak
---------------------------
An unexpected memory leak has occurred. The unexpected small block leaks are:
13 - 20 bytes: TList x 20, TFinateStateMachine x 20, TGameObjects x 1, Unknown x 12
101 - 108 bytes: TExitLevelPowerUp x 1, THealthPowerUp x 1
109 - 116 bytes: TBarrel x 6, TTurret x 6
149 - 156 bytes: TNPCTank x 5, TUserTank x 1
173 - 188 bytes: Unknown x 1
---------------------------
OK
---------------------------
uh oh spagettii oh!
Bookmarks