memory leak detection in evc

From: marmot (anonymous_at_discussions.microsoft.com)
Date: 06/02/04


Date: Tue, 1 Jun 2004 21:06:06 -0700

hi,
Is there a way to detect memory leak in evc environment? as a test,i allocate a memory block and don't free it purposely, the compiler doesn't give any warning.



Relevant Pages

  • Re: Need help with large file reading and writing.
    ... Memory leak: I did use some allocatable matrice and forget to deallocate them, but I deallocate them or just declare them as static after you mentioned. ... the compiler problem about the limitation of buffer memory. ... My first guess would be that the compiler and/or operating system (you ...
    (comp.lang.fortran)
  • Re: Memory leak using NewAnsiString
    ... > there are some memory leaks, most of them involving the use of strings, ... > The debugger says that 's' generates a memory leak, ... > freed automatically by the delphi compiler? ... Pass the 's' string as a var parameter to the function? ...
    (borland.public.delphi.language.objectpascal)
  • Re: Allocating memory for struct - when?
    ... > believe it is because there's some memory leak - the debugger tells me ... instead of "char". ... how would the compiler know how much memory to ... example of a situation that flexible array members were designed for. ...
    (comp.lang.c)
  • Re: Allocatable Components of Derived Type
    ... One exception I guess is an allocatable array declared in a subroutine ... There are *NO* exceptions. ... Such a case will not cause a memory leak, ... If you try to allocate the array again without ...
    (comp.lang.fortran)
  • Re: Allocatable Components of Derived Type
    ... One exception I guess is an allocatable array declared in a subroutine ... Such a case will not cause a memory leak, ... If you try to allocate the array again without ... exceptions, I'd suggest turning in a defect report to the standard ...
    (comp.lang.fortran)