I have a program and its associated process and I want to monitor how much memory it is allocating (all memory dynamically allocated to it by the operating system which in this case is Windows XP). I know that I can monitor this through Performance Logging -> Processes, but I don't know which instrument I should look at. What parameter should I use to monitor memory consumed by the program?
How do I measure how much memory a process is consuming in Windows?
Started by RouterDCS, Dec 08 2008 06:47 PM
3 replies to this topic
#1
Posted 08 December 2008 - 06:47 PM
|
|
|
#2
Posted 08 December 2008 - 09:01 PM
Have you considered using the task manager - or do you need it logged? Posted via CodeCall Mobile
#3
Posted 08 December 2008 - 09:12 PM
I have been monitoring through task manager and also Start -> Control Panel -> Administrative Tools -> Performance -> Counter Logs -> Performance Object -> Process from there I can select:
Handle count
ID Process
IO Data Bytes / Sec
IO Data Operations / sec
Page Faults / Sec
Page File Bytes
Page File Bytes Peak
Pool Paged Bytes
Priority Base
Private Bytes
Thread Count
Virtual Bytes
Virtual Bytes Peak
Working Set
Working Set Peak
Would any of these tell me how much memory the program has dynamically allocated for itself on the heap?
Handle count
ID Process
IO Data Bytes / Sec
IO Data Operations / sec
Page Faults / Sec
Page File Bytes
Page File Bytes Peak
Pool Paged Bytes
Priority Base
Private Bytes
Thread Count
Virtual Bytes
Virtual Bytes Peak
Working Set
Working Set Peak
Would any of these tell me how much memory the program has dynamically allocated for itself on the heap?
#4
Posted 09 December 2008 - 12:18 AM
I would think Virtual Bytes contains the amount of bytes allocated in virtual memory; Private Bytes probably contains the number of bytes allocated in RAM.


Sign In
Create Account

Back to top









