473,796 Members | 2,480 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

ASP.Net Memory Breakdown

Is there a way to view the type, number, and size of the objects allocated in
the ASP.Net process (aspnet_wp.exe) ?
Nov 19 '05 #1
3 1622
you can get some of that information by using perfmon counters

--
Regards,
Alvin Bruney - ASP.NET MVP

[Shameless Author Plug]
The Microsoft Office Web Components Black Book with .NET
Now available @ www.lulu.com/owc, Amazon.com etc
"thejeffros s" <th*********@no email.nospam> wrote in message
news:32******** *************** ***********@mic rosoft.com...
Is there a way to view the type, number, and size of the objects allocated
in
the ASP.Net process (aspnet_wp.exe) ?

Nov 19 '05 #2
Hi thejeffross,

I think Alvin's suggestion on using the Perf counters is reasonable since
NET has provide many existing counters for monitoring the ASP.NET's
runtime object model such as request/response count, caching usage , CLR
threadpool....

#HOW TO: Analyze ASP.NET Web Application Performance by Using the
Performance Administration Tool
http://support.microsoft.com/default...b;en-us;815159

In addition, I'm not sure whether you've ever noticed the "CLR Profiler"
tool, though it's not a buildin tool shiped with .net or VS.NET, we can get
it from msdn site

CLR Profiler is available as an Internet download from Microsoft Download
Center at
http://download.microsoft.com/downlo...4-9715-803a7b4
85b82/clr%20profiler. exe.

This tool can help profile the memory in managed .net
application(inc luding assemlies, function call, class graphic, object
graphic.....)

#How To: Use CLR Profiler
http://msdn.microsoft.com/library/en...to13.asp?frame
=true

Hope helps. Thanks,

Steven Cheng
Microsoft Online Support

Get Secure! www.microsoft.com/security
(This posting is provided "AS IS", with no warranties, and confers no
rights.)

Nov 19 '05 #3
BTW, you can also create your own custom performance monitors inside your
app.

--
HTH,

Kevin Spencer
Microsoft MVP
..Net Developer
Sometimes you eat the elephant.
Sometimes the elephant eats you.

"Steven Cheng[MSFT]" <v-******@online.m icrosoft.com> wrote in message
news:nA******** *****@TK2MSFTNG XA01.phx.gbl...
Hi thejeffross,

I think Alvin's suggestion on using the Perf counters is reasonable since
NET has provide many existing counters for monitoring the ASP.NET's
runtime object model such as request/response count, caching usage , CLR
threadpool....

#HOW TO: Analyze ASP.NET Web Application Performance by Using the
Performance Administration Tool
http://support.microsoft.com/default...b;en-us;815159

In addition, I'm not sure whether you've ever noticed the "CLR Profiler"
tool, though it's not a buildin tool shiped with .net or VS.NET, we can
get
it from msdn site

CLR Profiler is available as an Internet download from Microsoft Download
Center at
http://download.microsoft.com/downlo...4-9715-803a7b4
85b82/clr%20profiler. exe.

This tool can help profile the memory in managed .net
application(inc luding assemlies, function call, class graphic, object
graphic.....)

#How To: Use CLR Profiler
http://msdn.microsoft.com/library/en...to13.asp?frame
=true

Hope helps. Thanks,

Steven Cheng
Microsoft Online Support

Get Secure! www.microsoft.com/security
(This posting is provided "AS IS", with no warranties, and confers no
rights.)

Nov 19 '05 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

5
4439
by: Claudio Grondi | last post by:
Background information: --------------------------------- in order to monitor mainboard sensory data as fan speeds, temperatures, applications like SpeedFan http://www.almico.com/speedfan.php or MBM http://mbm.livewiredev.com/ can be used. Both of the mentioned apps expose data got from the hardware in a shared memory area.
3
2007
by: Bobby Torkington | last post by:
Hi all I'm running version 4.0.16 on solaris 8 as the backend for a web site serving around 12 million pages impressions a month. The performance of the server is monitored using orcollator. I'm finding that the memory usage on the server remains pretty constant for weeks at a time at around 300 Meg but then every once in a while the size of the mysqld process jumps anywhere between another 50 and 250 Meg. It then stays at this new...
3
6215
by: wavelet | last post by:
a.exe is one programming writen with c/c++ language. a.exe will be called multi-times by another programming. Now I want to check how much memory is used by a.exe or whether some memory leak happens . Is there any API interface availabe or tools for this purpose on both windows and Unix? RGS Wavelet
4
1357
by: yanchun.yang | last post by:
I wrote a large code, but it spends memory very quick. Is there any method to supervise memory's use and watch whether there is some waste?
2
3645
by: Steve - DND | last post by:
Are there any applications out there commercial or otherwise which can tell me how much memory each of my objects in my application are using at any given time? I tried googling for an app that does this, but had no luck. Thanks, Steve
3
1057
by: Chucker | last post by:
Hi Folks! For some reasons, this code: > float tmp = 0.; > for (int i = 0; i < 2000; i++) { > for (int j = i; j < 2000; j++) { > for (int k = 0; k < 9000; k++) { > tmp += tmp_mat(k,i) * tmp_mat(k,j); > }
6
3035
by: Stan | last post by:
There was a number of postings about aspnet_wp worker process taking too much memory and eventually choking the webserver. One issue is still not clear to me - how can I narrow it down to an application that is a culprit? Suppose, there are three applications on the webserver and each of them uses db connections and caching. I have not found a way in PerfMon to see how much memory each of
0
1082
by: John Linn | last post by:
We are adventuring into the land of Web Services. Here is a simple breakdown of the architecture: 1) Accept XML data 2) For each node, perform the related data operation in our backend. 3) Return a success/error code. Pretty simple design. We have a need to accept large amounts of XML data to our web service (50+ meg raw data). We are running into issues with the aspnet_wp recycling itself because of memory consumption on our dev...
0
1342
by: MitchMitchell | last post by:
Hi, We just managed to get SmartHeap up and running and it's returning the following as a memory leak. We're using ANSI C memory allocation and I'm still a newbie, so any help would be appreciated. We're passing in text "sometext" to a function that accepts a string pointer. The receiving function does a string duplicate to write the text to memory space and create a new pointer. SmartHeap is saying that a memory leak occurs with the...
2
2391
by: miguel | last post by:
Hi, I have created a service which parses real-time prices from one format into another. This is all working very quickly and nicely, however, I have recently found that the memory usage is astronomical after a few hours. (1.5-2 Gig) After a good amount of digging I found that the memory usage is is all in System.String and contained within the pricing object. This object makes extensive use of a single string object which is...
0
9680
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
9528
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
10456
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
10230
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
0
10012
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
1
7548
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
6788
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5442
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
3
2926
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.