Page 3 of 3 FirstFirst 123
Results 21 to 24 of 24

Thread: Memory leaks

  1. #21

    Memory leaks

    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>

  2. #22

    Memory leaks

    In Delphi 2006 you can enable memory leak detection by adding this line at program start:
    Code:
     ReportMemoryLeaksOnShutdown&#58;= True;
    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.

  3. #23
    Legendary Member NecroDOME's Avatar
    Join Date
    Mar 2004
    Location
    The Netherlands, Eindhoven
    Posts
    1,059

    Memory leaks

    Cool, I need to update to delphi 2006
    NecroSOFT - End of line -

  4. #24

    Memory leaks

    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!

Page 3 of 3 FirstFirst 123

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •