473,397 Members | 1,949 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,397 software developers and data experts.

working set, virtual bytes and private bytes

Hello everyone,
I am using Windows Server 2003 Performance Counter tool to monitor the
memory consumed by my process.

The interested terms are working set, virtual bytes and private bytes.
My questions are,

1. If I want to watch the real physical memory consumed by current
process, which one should I monitor?
2. If I want to watch the physical memory + swap file consumed by
current process, which one should I monitor?
3. Any more clear description of what these terms mean? I read the
help from Performance Counter tool, but still confused which one(s)
identifies the real used physical memory, and which one(s) identifies
the real used physical memory + page swap file, and which one(s)
identifies the required memory (may not be really allocated either in
physical memory or in swap page file).

If there are any related learning resource about the concepts, it is
appreciated if you could recommend some. :-)
thanks in advance,
George
Jan 9 '08 #1
1 4022
George2 wrote:
I am using Windows Server 2003 Performance Counter tool to monitor the
memory consumed by my process.

The interested terms are working set, virtual bytes and private bytes.
....all of which aren't defined in C++...
My questions are,

1. If I want to watch the real physical memory consumed by current
process, which one should I monitor?
Why are you asking here? This is a platform question. Please learn
to differenciate language issues and platform issues to avoid wasting
your own time asking in all the wrong places.
2. If I want to watch the physical memory + swap file consumed by
current process, which one should I monitor?
3. Any more clear description of what these terms mean? I read the
help from Performance Counter tool, but still confused which one(s)
identifies the real used physical memory, and which one(s) identifies
the real used physical memory + page swap file, and which one(s)
identifies the required memory (may not be really allocated either in
physical memory or in swap page file).

If there are any related learning resource about the concepts, it is
appreciated if you could recommend some. :-)
I would say, start in 'microsoft.public.*' hierarchy of newsgroups.

V
--
Please remove capital 'A's when replying by e-mail
I do not respond to top-posted replies, please don't ask
Jan 9 '08 #2

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

Similar topics

6
by: R.Wieser | last post by:
Hello All, I'm trying to get a "Virtual Listbox" to work. I've currently got a form, and used CreateWindowExA to create a ListBox with the LBS_OWNERDRAWFIXED and LBS_NODATA flags on it. I've...
4
by: vijay | last post by:
I have a doubt with size of classed with virtual functions I have declared A,A1,A2 ,B , C, D some classes with no varaibles but a vitual function each, The size of A is as expected 4 bytes with...
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...
10
by: VM | last post by:
How can I limit the use of the PC's virtual memory? I'm running a process that basically takes a txt file and loads it to a datatable. The problem is that the file is over 400,000 lines long (77...
2
by: Vladimir_petter | last post by:
Hello All, I've fount that if I compile the same program using gcc and vc 2003 the same class E (see complete source bellow) has different size (on vc it is 4 bytes bigger). Digging into this...
18
by: Joseph Turian | last post by:
Let's say I want to have an abstract base class define a method which all the subclasses will implement. However, I cannot use virtual methods (long story short: these objects are only 24 bytes...
1
by: George2 | last post by:
Hello everyone, I am using Windows Server 2003 Performance Counter tool to monitor the memory consumed by my process. The interested terms are working set, virtual bytes and private bytes. My...
0
by: George2 | last post by:
Hello everyone, I am using perfmon to watch the working set and virtual bytes, when I do a keyword search in SourceInsight. I found the value of working set is larger than virtual bytes when...
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...
3
by: Adam Clauss | last post by:
We have an application which is fairly network intensive. During some stress testing, we had it setup to open approximately 300-400 TCP connections (outbound connections, we are a TCP client). ...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
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,...
0
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...
0
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,...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
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...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
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...

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.