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

How many virtual memory is being used?

Hi,

I would like to know is there's any method that can give me the quantity
of virtual memory being used my C# application.

I search in the System.Diagnostics namespace but the amount of memory
that I get from the different counter has nothing to do with the virtual
memory showned in the Task Manager.

Thanks,

Luís Pinho

*** Sent via Developersdex http://www.developersdex.com ***
Don't just participate in USENET...get rewarded for it!
Nov 16 '05 #1
2 2503
"VM Memory" in taskman has nothing to do with "virtual memory" size, it
corresponds to "Private bytes".
The counters from System.Diagnostics are correct.

Willy.

"Luis Pinho" <lp****@oninet.pt> wrote in message
news:eU**************@TK2MSFTNGP10.phx.gbl...
Hi,

I would like to know is there's any method that can give me the quantity
of virtual memory being used my C# application.

I search in the System.Diagnostics namespace but the amount of memory
that I get from the different counter has nothing to do with the virtual
memory showned in the Task Manager.

Thanks,

Luís Pinho

*** Sent via Developersdex http://www.developersdex.com ***
Don't just participate in USENET...get rewarded for it!

Nov 16 '05 #2
"VM Memory" in taskman has nothing to do with "virtual memory" size, it
corresponds to "Private bytes".
The counters from System.Diagnostics are correct.

Willy.

"Luis Pinho" <lp****@oninet.pt> wrote in message
news:eU**************@TK2MSFTNGP10.phx.gbl...
Hi,

I would like to know is there's any method that can give me the quantity
of virtual memory being used my C# application.

I search in the System.Diagnostics namespace but the amount of memory
that I get from the different counter has nothing to do with the virtual
memory showned in the Task Manager.

Thanks,

Luís Pinho

*** Sent via Developersdex http://www.developersdex.com ***
Don't just participate in USENET...get rewarded for it!

Nov 16 '05 #3

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

Similar topics

4
by: DaKoadMunky | last post by:
I was recently looking at some assembly code generated by my compiler. When examining the assembly code associated with constructors I noticed that the dynamic-dispatch mechanism was enabled...
7
by: Oleksii | last post by:
Hello, I'm rather new to the advanced topics, therefore I cannot explain the following myself. Could anyone give me a hint on this one? I'm trying to avoid link-time dependencies on (a test...
0
by: Luis Pinho | last post by:
Hi, I would like to know is there's any method that can give me the quantity of virtual memory being used my C# application. I search in the System.Diagnostics namespace but the amount of...
3
by: Pravesh | last post by:
Hello All, I had some query regarding virtual functions/destructors. If a class is having some/all of its methods that are virtual then is it recommended that it should also have virtual...
4
by: cwc5w | last post by:
I have two classes. One with a regular destructor and the other with a virtual destructor. e.g. class x { ~x(){} } vs
7
by: Markus Svilans | last post by:
Hello, My question involves virtual functions and inheritance. Suppose we have a class structure, that consists of "data" classes, and "processor" classes. The data classes are derived from...
3
by: jtertin | last post by:
I was wondering how to manage Virtual Memory usage within a VB app. I have a form with a trend on it that takes ~40MB of virtual memory when it is loaded (depending on the amount of data being...
6
by: zissop | last post by:
Hello I have a strange situation with my ASP.Net applications running on Windows 2003 Server x64. As soon as they get instantiated (a visitor hits a page). the virtual memory they allocate goes to...
0
by: akshaycjoshi | last post by:
I am reading a book which says Even though unboxed value types don't have a type object pointer, you can still call virtual methods (such as Equals, GetHashCode, or ToString) inherited or...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
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...
1
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
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...

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.