profiling web asp.net application

Memory profiling for .NET developers

Moderators: StephenC, Alex.Davies, AndrewH, melvyn.harbour

profiling web asp.net application

Postby gbetz » Fri Aug 27, 2010 6:18 pm

i am profiling asp/net application and i clearly see there are memory issues - the private byte and bytes in all heaps are growing steadily. Using the filter 'disposed objects that are still in memory' i was able to determine that many classes (web user controls mostly) are staying in memory indefinitely (up to 287 instances each!!!) and new instances of it keep getting created and they don't get disposed. When i look at object retention graph however - I am not able to find anything that makes any sense to me. When I click 'open with instance of visual studio' option - it takes me to auto generated code page that looks something like this:

#pragma checksum "C:\\projects\\LeadImpactMain\\adservices_zango_com\\www\\UserControls\\HelpHover.ascx" "{406ea660-64cf-4c82-b6f0-42d48172a799}" "F0516F4E6C7E603BF362E423E98344C4"
//------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
// Runtime Version:2.0.50727.3615
//
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
// </auto-generated>
//------------------------------------------------------------------------------

namespace ASP {

#line 333 "c:\\WINDOWS\\Microsoft.NET\\Framework\\v2.0.50727\\Config\\web.config"
using System.Web.Profile;

#line default....
..........................................................
any suggestions on how can i proceed to get to the actual code that is causing the problem? I am not a web developer in the first place so these pages don't make a whole lot of sense to me, I feel there should be a better way to get to the truth of it all.

thanks a lot,

Galina
gbetz
 
Posts: 3
Joined: Fri Aug 27, 2010 6:04 pm

Postby slaphead99 » Mon Aug 30, 2010 12:38 pm

Just to kick things a long a little bit- show an example Object Retention Graph here for an object which you believe should have been cleaned up.
slaphead99
 
Posts: 92
Joined: Wed Mar 10, 2010 2:27 pm

profiling web asp.net application

Postby gbetz » Mon Aug 30, 2010 5:04 pm

i can't really post an image which is what graph is - so I don't know how to give you an example of what the graph looks like...
gbetz
 
Posts: 3
Joined: Fri Aug 27, 2010 6:04 pm

Postby slaphead99 » Tue Aug 31, 2010 1:58 pm

Its easy to insert images: Image [/img]
slaphead99
 
Posts: 92
Joined: Wed Mar 10, 2010 2:27 pm

profiling web asp.net application

Postby gbetz » Tue Aug 31, 2010 4:58 pm

I don't have a website
gbetz
 
Posts: 3
Joined: Fri Aug 27, 2010 6:04 pm


Return to ANTS Memory Profiler Previous Versions

Who is online

Users browsing this forum: No registered users and 0 guests