Re: Fastcode MM memory usage



Hi Pierre,

> I fwould prefer if memory leaks report show up only when {$IFOPT D+} is
> set.

Good suggestion. I have implemented this as you suggested by extending the
options as follows:

{Set this option to enable reporting of memory leaks. Combine it with the
two
options below for further fine-tuning.}
{$define EnableMemoryLeakReporting}

{Set this option to require the presence of the Delphi IDE to report memory
leaks. This option has no effect if the option "EnableMemoryLeakReporting"
is not
also set.}
{$define RequireIDEPresenceForLeakChecking}

{Set this option to require the presence of debug info ($D+ option) in the
compiled unit to perform memory leak checking. This option has no effect if
the option "EnableMemoryLeakReporting" is not also set.}
{.$define RequireDebugInfoForLeakChecking}

Regards,
Pierre


.



Relevant Pages

  • Urgent: How to find memory leaks? -- profiler???
    ... I'm using some APIs to create registry keys, then report some events ... to windows event viewer.Now my program runs from command prompt, ... but my program seems to have memory leaks. ...
    (microsoft.public.vb.winapi)
  • How to detect and remove memory leak?
    ... I'm using some APIs to create registry keys, then report some events ... to windows event viewer.Now my program runs from command prompt, ... but my program seems to have memory leaks. ...
    (microsoft.public.vb.winapi)
  • Re: dll trouble - final status
    ... | Just to give you a final report. ... | I am giving up the idea of connecting fortran and VB, ... | W98 is rather slow, but I am seriously thinking to replace XP with W98 on ... FPS4 is notorious for memory leaks. ...
    (comp.lang.fortran)
  • Re: How to detect and remove memory leak?
    ... > I'm using some APIs to create registry keys, then report some events ... > but my program seems to have memory leaks. ... Destroy>every< GDI object you have created unless the MSDN ... global variables are the reason for the developer to have lost control of ...
    (microsoft.public.vb.winapi)
  • Re: Finding memory leaks through ps command
    ... >>concerned about leaks in the bytecode interpreter, ... >>follow Barry's suggestion, ... > It's not impossible for there to be memory leaks in the JVM. ...
    (comp.unix.solaris)