memory leak
| Mon, 2006-07-31 07:43 | |
|
Hello everybody, Can any one of u tell me the reasons behind the memory leak. For removing memory leak & failure percentage what criteria should I apply. What things should I check? What r the possible ways for removing the memory leak. Is Low memory tool2 of symbian is reliable tool or what? Can we check memory leak by changing its factory settings. Thanx in advance. |
|






Forum posts: 285
http://www.newlc.com/Memory-Leak-Tool.html
Cheers,
Sri
Forum posts: 36
Thanx for u r reply.I check out the link that u send but I do'nt want the tools for memory testing .
I want the reasons behind the memory leak. Why memory leak occurs . What are the possible things should we care for memory leak will not occurs . For e.g. delete all resources that r not in use.
And any more criteria like this .
Thanks alot
Forum posts: 141
Put break points in each class destructor and debug it.
regards,
eswar
Forum posts: 285
1. You allocate memory and doesnt release or delete in dtor r where ever it is. This is little easier to find.
2. Some memory leaks occur because of leaves. So you need to be very careful when dealing with any thing which leaves.
Cheers,
Sri
Forum posts: 278
http://www.newlc.com/Tracking-down-memory-leaks.html?var_recherche=memory+leaks
It is for Tracking down memory leaks
max_i
Forum posts: 36
Thanks for your replies.
Now my project having
Test count - 27
Test Failed - 11
Memory Leak - 0
Why this test fail occurs.
Is the following code causes for test failed or memory leak.
RFs fsession;
fsession.Connect();
fsession.RmDir(Newpath);
fsession.Close ();
There are many segments like this in my project .Are they caues for test fail. What are the reasons behind the test fail .
How I check out the this failures.
How much test failed will be allowed.
Thanks alot.
Pratibha