| Author |
Message |
precious.logic
Joined: 10 Apr 2012 Posts: 1 Location: pakistan
|
Posted: Tue Apr 10, 2012 3:30 pm Post subject: how to find out the memory leakage class |
|
|
hi
i am new user of ants memory profiler i used the software and now i am understanding how the software is working i check that my software is creating memory leakage but i also checked in class list and search a lot but didn't find any where how to get the code of that class or location of that class in code so i can fixed that is ants allow me to do that type of thing thanks |
|
| Back to top |
|
 |
james.billings
Joined: 16 Jun 2010 Posts: 844 Location: My desk.
|
Posted: Tue Apr 10, 2012 8:50 pm Post subject: |
|
|
Hi,
If you think you have found the class causing the memory leak you can right-click it in any of the screens and open up a new instance of Visual Studio- it should drop you into the code then.
The memory profiler won't be able to necessarily point you at the exact line of code that causes your memory leak as it won't know this- you use the Instance Retention graph to first find what is holding on to the leaking objects and then you can work out in your code where those references come from.
If you haven't already done so, I would suggest checking out some of the videos showing you how to use the tool |
|
| Back to top |
|
 |
|
|
All times are GMT + 1 Hour
|
| Page 1 of 1 |
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
Powered by phpBB © 2001, 2005 phpBB Group