Re: Pls help me out for memory leakage
- From: "Bruce Roberts" <dontsendtober@xxxxxxxxxxxxxxxxxxxx>
- Date: Tue, 25 Apr 2006 11:06:33 -0400
"chirgncr" <chirag.ncr@xxxxxxxxx> wrote in message
news:1145940273.536676.253380@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
2.I want the exact line number where the memory is getting leak else
atleast I should know where it is getting leak
What you want is not really possible and illustrates an apparent naivete
about memory allocation and deallocation in programs.
First. You need to identify resources in the program that have the
potential to cause leaks. In order to do this you have to understand how
the compiler allocates resources based on the source it is compiling. A
good introductory guide to this can be found in the Memory Management
chapter of the Object Pascal (Delphi) Reference / Language Guide. Actually,
the whole manual is probably helpful.
Then. You can determine the required lifetime of potential leakers.
Finally. You can check relevant sections of code to insure that potential
leakers are released appropriately.
.
- References:
- Pls help me out for memory leakage
- From: chirgncr
- Re: Pls help me out for memory leakage
- From: Charles Appel
- Re: Pls help me out for memory leakage
- From: chirgncr
- Pls help me out for memory leakage
- Prev by Date: Re: Pls help me out for memory leakage
- Next by Date: Re: Probleme bei VS2005 Installation?
- Previous by thread: Re: Pls help me out for memory leakage
- Next by thread: How to register an ActiveX to be default in Web Broswer
- Index(es):