How we can findout Memoryleaks, In what way it can be
avoided
Answers were Sorted based on User's Feedback
Answer / guest
Use CMemoryState class put checkpoints and differences, and
investigate
| Is This Answer Correct ? | 11 Yes | 1 No |
Answer / chandrasekharreddy s
To find out the memory leaks there are several ways
1. Use Permon utility provided by Microsoft
2. Collect the memory leak dump using Debug Diag and
investigate.
| Is This Answer Correct ? | 5 Yes | 1 No |
Answer / bhavesh akoliya
By overloading new , delete , malloc , calloc and realloc
we can find out the Memoryleaks.
| Is This Answer Correct ? | 2 Yes | 0 No |
Answer / kushagra
The appropiate way to chec leaks in memory is to perform
utilty and collect memory leaks dump using Debug Diag and
Use CMemoryState class put checkpoints and differences, and
investigate.Rational products are available on Liscence so
an be used if agreed by your employer.
| Is This Answer Correct ? | 2 Yes | 1 No |
Answer / jecintho sirumalar
to detect the memory leaks in the vc++ code certain tools
available like rational purify plus tool.By intergrating
this tool with your source code the leakage report would be
identified. It will also be very easy to identify the
leaks.
| Is This Answer Correct ? | 1 Yes | 2 No |
How many types of combo box are their
2 Answers Aaditya Info Solutions, E Logic,
how do u identify RTTI in vc++
how to repaint when working with horizontal scroll bar
What interface must be supported by an ActiveX control?
Difference between Cclint DC & Cpaint Dc
WHAT IS DIFFERENT BETWEN RELEASE MODE & DEBUGGING MODE
4 Answers Google, Microsoft, TCS,
What is a critical section and how is it implemented?
What is the use of CCmdTarget ?
what is the use of CWinApp class?
If application hangs while SendMessage is waiting for the result, how you handle it?
How to convert a CString variable to char* or LPTSTR?
what do you mean by psychic window?