Red Gate forums :: View topic - profiling web asp.net application
Return to www.red-gate.com RSS Feed Available

Search  | Usergroups |  Profile |  Messages |  Log in  Register 
Go to product documentation
ANTS Memory Profiler Previous Versions
ANTS Memory Profiler Previous Versions forum

profiling web asp.net application

Search in ANTS Memory Profiler Previous Versions forum
Post new topic   Reply to topic
Jump to:  
Author Message
gbetz



Joined: 27 Aug 2010
Posts: 3

PostPosted: Fri Aug 27, 2010 6:18 pm    Post subject: profiling web asp.net application Reply with quote

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
Back to top
View user's profile Send private message
slaphead99



Joined: 10 Mar 2010
Posts: 93

PostPosted: Mon Aug 30, 2010 12:38 pm    Post subject: Reply with quote

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.
Back to top
View user's profile Send private message
gbetz



Joined: 27 Aug 2010
Posts: 3

PostPosted: Mon Aug 30, 2010 5:04 pm    Post subject: profiling web asp.net application Reply with quote

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...
Back to top
View user's profile Send private message
slaphead99



Joined: 10 Mar 2010
Posts: 93

PostPosted: Tue Aug 31, 2010 1:58 pm    Post subject: Reply with quote

Its easy to insert images: [img]http://image_url[/img] [/img]
Back to top
View user's profile Send private message
gbetz



Joined: 27 Aug 2010
Posts: 3

PostPosted: Tue Aug 31, 2010 4:58 pm    Post subject: profiling web asp.net application Reply with quote

I don't have a website
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic 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