473,383 Members | 1,821 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,383 software developers and data experts.

Private Bytes vs. # Bytes in all Heaps in Perfmon


Win 2K3 Server; Framework 1.1

If I look at the asp.net process in perfmon, it reports 650,000,000 bytes
for Memory:Private Bytes, yet .NET CLR Memory:# Bytes in all Heaps reports
only 80,650,000 bytes.

Why the large discrepancy? Does the ASP.NET process just have a huge amount
of unallocated heap? If so, doesn't the difference indicated here seem
excessive?

Thanks,
j
Nov 18 '05 #1
3 6303
private bytes includes all code, managed data and unmanaged data. also clr
memory bytes is the usage of the heap, not the heap size.

-- bruce (sqlwork.com)

"Jason Collins" <jc*************@point2.com> wrote in message
news:OO**************@TK2MSFTNGP10.phx.gbl...

Win 2K3 Server; Framework 1.1

If I look at the asp.net process in perfmon, it reports 650,000,000 bytes
for Memory:Private Bytes, yet .NET CLR Memory:# Bytes in all Heaps reports
only 80,650,000 bytes.

Why the large discrepancy? Does the ASP.NET process just have a huge amount of unallocated heap? If so, doesn't the difference indicated here seem
excessive?

Thanks,
j

Nov 18 '05 #2
Hi Jason,

Thank you for using MSDN Newsgroup!

As you know the CLR is loaded into the ASP.NET process(it's aspnet_wp.exe
in IIS5).The application domains are defined within the process, and your
code is executed within those domains. As Bruce said, there are many others
take the memory except CLR. And the ASP.NET local managed heap is not a
part of CLR , but private bytes includes it. So it's reasonable for the
perform data you have seen.

Best Regards,

Frank Lee
Microsoft Online Support
-----------------------------------------------------
Get Secure!-www.microsoft.com/security
This posting is provided "as is" with no warranties and confers no rights.
Please reply to newsgroups only.Thanks.

Nov 18 '05 #3

Fair enough.

"Frank Lee[MSFT]" <v-*****@online.microsoft.com> wrote in message
news:05**************@cpmsftngxa07.phx.gbl...
Hi Jason,

Thank you for using MSDN Newsgroup!

As you know the CLR is loaded into the ASP.NET process(it's aspnet_wp.exe
in IIS5).The application domains are defined within the process, and your
code is executed within those domains. As Bruce said, there are many others take the memory except CLR. And the ASP.NET local managed heap is not a
part of CLR , but private bytes includes it. So it's reasonable for the
perform data you have seen.

Best Regards,

Frank Lee
Microsoft Online Support
-----------------------------------------------------
Get Secure!-www.microsoft.com/security
This posting is provided "as is" with no warranties and confers no rights.
Please reply to newsgroups only.Thanks.

Nov 18 '05 #4

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

Similar topics

1
by: Angelo Mariani | last post by:
Hi, guys. A very simple question for all of you: how can I get the amount of bytes exchanged during a Merge replication between two Microsoft SQL 2000 servers? Thank you. Bye, Angelo.-
3
by: Ronald | last post by:
Hi! As I ran in to errors like "Ran out of memory" and "Out of memory" I supposed my website might have memoryleaks. To trace a potential memory leak I isolated the IIS process and monitored the...
4
by: Z D | last post by:
Hello, I have a Windows Server 2003 machine running IIS6.0. I recently xcopied over an ASP.NET application that was originally running on a Windows 2000 Server machine. The application works...
0
by: Marc Melancon | last post by:
I have a situation where accessing perfmon counters remotely does not display the same list of Performance Objects remotely as it does when doing it from the host of SQL Server. From the host of...
0
by: hiitsmedear | last post by:
Hi, I am working on memory leaks for a windows service and the way i am calculating the leaks is appears tobe somewhat weired to me, Can someone please suggest me that is this the correct way to...
2
by: John Grandy | last post by:
Are Gen 0, Gen 1, Gen 2 heaps and Large Object Heaps physically contiguous ? Or are these abstract representations of groups of allocated segments in the general heap ? More specifically, are the...
5
by: kumarmdb2 | last post by:
Hi guys, For last few days we are getting out of private memory error. We have a development environment. We tried to figure out the problem but we believe that it might be related to the OS...
0
by: George2 | last post by:
Hello everyone, From the definition of working set, it is a subset of virtual pages resident in physical memory -- from book Windows Internals. It means working set could not be larger than...
0
by: George2 | last post by:
Hello everyone, I am not sure whether I am wrong or the Windows Internals Book 4th version is wrong. Here is what the book says in Chapter 7, Memory Management from Page 444 to Page 445 ...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 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 former...
0
by: ryjfgjl | last post by:
In our work, we often need to import Excel data into databases (such as MySQL, SQL Server, Oracle) for data analysis and processing. Usually, we use database tools like Navicat or the Excel import...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...

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.