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

Profiling an app

I am trying to profile the memory usage of an application. In Task
Manager, I can add Virtual Memory Usage (VM Usage). I am confused by
this metric. Usually it is close to the Mem Usage value. However, on
my laptop I turned off Virtual memory (e.g. I have no paging file),
since I have more than enough RAM. So one would think that VM Size
column in the Task Manager would be all zeroes. It is not. Does VM
Size mean something else?

Thanks.
Oct 13 '06 #1
2 1240

"Frank Rizzo" <no**@none.comwrote in message
news:ej**************@TK2MSFTNGP04.phx.gbl...
|I am trying to profile the memory usage of an application. In Task
| Manager, I can add Virtual Memory Usage (VM Usage). I am confused by
| this metric. Usually it is close to the Mem Usage value. However, on
| my laptop I turned off Virtual memory (e.g. I have no paging file),
| since I have more than enough RAM. So one would think that VM Size
| column in the Task Manager would be all zeroes. It is not. Does VM
| Size mean something else?
|
| Thanks.

VM size in taskman is the "private bytes" performance counter.

Process VM size or "Private bytes" is the amount of bytes allocated in the
paging file to hold the contents of the private memory in the event it is
swapped out. Not having a paging file doesn't mean you don't commit private
memory though (f.i the GC heap is private bytes just like JIT'd code).
Note that the "private bytes" counter somewhat overstates the real amount of
physical memory allocated. If you want to know the resident physical memory
that has been allocated to hold these private bytes, you have to run
vadump.exe (from the platform sdk), but beware, this one can understate the
amount of memory allocated in the event of paging (provided you have a
paging file).
Note that turning of paging is not a good idea, you might overstate the
amount of RAM you have and understate the amount needed.

Willy.

Oct 13 '06 #2
Check out ANTS Profiler:
http://www.red-gate.com/products/ant...iler/index.htm

Frank Rizzo wrote:
I am trying to profile the memory usage of an application. In Task
Manager, I can add Virtual Memory Usage (VM Usage). I am confused by
this metric. Usually it is close to the Mem Usage value. However, on
my laptop I turned off Virtual memory (e.g. I have no paging file),
since I have more than enough RAM. So one would think that VM Size
column in the Task Manager would be all zeroes. It is not. Does VM
Size mean something else?

Thanks.
Oct 13 '06 #3

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

Similar topics

2
by: James Sleeman | last post by:
Hi all, I'm trying to find a performance problem I've got in a reasonably large system I'm writing. Anyway, I've had a look around at the offerings for profiling php requests... xdebug :...
0
by: Irmen de Jong | last post by:
Okay I tried some profiling, but am uncertain about the results I'm getting. They confuse the hell out of me. I have a test program (see below) that essentially has two loops that get called...
3
by: Richard Wallace | last post by:
Hello all, I'm looking for some input on the best tools to use for profiling multithreaded C++ code developed on GNU/Linux and compiled using gcc-3.1. More specifically, the distro in use is RH...
6
by: cournape | last post by:
Hi there, I have some scientific application written in python. There is a good deal of list processing, but also some "simple" computation such as basic linear algebra involved. I would like to...
13
by: Jens Theisen | last post by:
Hello, I want to apologise in advance for this being off topic. It's not neither A C nor a C++ question, but to profiling in general, though I my chances are best to find the answer in the C/C++...
0
by: EdgarSanchez | last post by:
Hello Group, This mail is intended to announce the release of the newest version of SpeedTrace .NET Tracing & Profiling tool, SpeedTrace Pro. This tool is an improvement of the previous version...
1
by: =?UTF-8?B?TWFydGluIFDDtnBwaW5n?= | last post by:
Hello, I am searching for a good profiling tool for C# which can be easily embedded into Visual Studio. My objective is to measure the times and counts of every method in my program. If...
0
by: L'eau Prosper Research | last post by:
Press Release: L'eau Prosper Research (Website: http://www.leauprosper.com) releases new TradeStation 8 Add-on - L'eau Prosper Market Manipulation Profiling Tools Set. L'eau Prosper Market...
0
by: L'eau Prosper Research | last post by:
NEW TradeStation 8 Add-on - L'eau Prosper Market Manipulation Profiling Tools Set By L'eau Prosper Research Press Release: L'eau Prosper Research (Website: http://www.leauprosper.com) releases...
9
by: Peter Duniho | last post by:
I'm especially hoping Ben Voigt and/or Bob Powell see this (I saw their names on the m.p.d.f.performance newsgroup :) ) I would have posted to the performance newsgroup, but I see very little on...
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: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
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: 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
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...
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,...

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.