473,320 Members | 2,193 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,320 software developers and data experts.

Memory Usage

RC
I'm trying to get an idea of the amount of memory is being used by my
ASP.NET application.

Here's what I did:
I rebooted my machine and fired up VS.NET 2003, opened the project in
question (without running it), then opened Task Manager (machine is Win2000
Pro).
Task Manager showed aspnet_wp.exe as using about 21,000K. I then ran the
project (F5). The amount of memory used by aspnet_wp.exe jumped up to about
39,000K immediately. I then navigated throughout the app through several
pages. The amount of memory used by aspnet_wp.exe topped out around 47,000K.

Is it safe to conclude that my ASP.NET app requires about 26MB of RAM
(47000K - 21000K)? If not, what can I conclude, if anything, about my
ASP.NET app and RAM usage? FWIW: I'm hoping to learn about physical RAM
Usage (not virtual RAM).

Thanks!
Nov 18 '05 #1
4 1456
Using perfmon would be way better than using Task Manager - you can keep a
cumualtive log that way, on more counters.
--
Jason Brown
Microsoft GTSC, IIS

This posting is provided "AS IS" with no warranties, and confers no
rights.

"RC" <a@b.com> wrote in message
news:uv**************@tk2msftngp13.phx.gbl...
I'm trying to get an idea of the amount of memory is being used by my
ASP.NET application.

Here's what I did:
I rebooted my machine and fired up VS.NET 2003, opened the project in
question (without running it), then opened Task Manager (machine is
Win2000
Pro).
Task Manager showed aspnet_wp.exe as using about 21,000K. I then ran the
project (F5). The amount of memory used by aspnet_wp.exe jumped up to
about
39,000K immediately. I then navigated throughout the app through several
pages. The amount of memory used by aspnet_wp.exe topped out around
47,000K.

Is it safe to conclude that my ASP.NET app requires about 26MB of RAM
(47000K - 21000K)? If not, what can I conclude, if anything, about my
ASP.NET app and RAM usage? FWIW: I'm hoping to learn about physical RAM
Usage (not virtual RAM).

Thanks!

Nov 18 '05 #2
RC
Agreed, but for a rough estimate, does Task Manager tell me anything
useful... "in the ballpark" kind of info, or would you characterize the
values it shows as approaching "totally meaningless"?

Thanks.
"Jason Brown [MSFT]" <i-******@online.microsoft.com> wrote in message
news:Ot*************@TK2MSFTNGP12.phx.gbl...
Using perfmon would be way better than using Task Manager - you can keep a
cumualtive log that way, on more counters.
--
Jason Brown
Microsoft GTSC, IIS

This posting is provided "AS IS" with no warranties, and confers no
rights.

"RC" <a@b.com> wrote in message
news:uv**************@tk2msftngp13.phx.gbl...
I'm trying to get an idea of the amount of memory is being used by my
ASP.NET application.

Here's what I did:
I rebooted my machine and fired up VS.NET 2003, opened the project in
question (without running it), then opened Task Manager (machine is
Win2000
Pro).
Task Manager showed aspnet_wp.exe as using about 21,000K. I then ran the
project (F5). The amount of memory used by aspnet_wp.exe jumped up to
about
39,000K immediately. I then navigated throughout the app through several
pages. The amount of memory used by aspnet_wp.exe topped out around
47,000K.

Is it safe to conclude that my ASP.NET app requires about 26MB of RAM
(47000K - 21000K)? If not, what can I conclude, if anything, about my
ASP.NET app and RAM usage? FWIW: I'm hoping to learn about physical RAM
Usage (not virtual RAM).

Thanks!


Nov 18 '05 #3
well, I'd say it perhaps gives you a rule of thumb, but the figures in
themselves may be misleading. try perfmon and see.
--
Jason Brown
Microsoft GTSC, IIS

This posting is provided "AS IS" with no warranties, and confers no
rights.

"RC" <a@b.com> wrote in message
news:uZ**************@TK2MSFTNGP14.phx.gbl...
Agreed, but for a rough estimate, does Task Manager tell me anything
useful... "in the ballpark" kind of info, or would you characterize the
values it shows as approaching "totally meaningless"?

Thanks.
"Jason Brown [MSFT]" <i-******@online.microsoft.com> wrote in message
news:Ot*************@TK2MSFTNGP12.phx.gbl...
Using perfmon would be way better than using Task Manager - you can keep
a
cumualtive log that way, on more counters.
--
Jason Brown
Microsoft GTSC, IIS

This posting is provided "AS IS" with no warranties, and confers no
rights.

"RC" <a@b.com> wrote in message
news:uv**************@tk2msftngp13.phx.gbl...
> I'm trying to get an idea of the amount of memory is being used by my
> ASP.NET application.
>
> Here's what I did:
> I rebooted my machine and fired up VS.NET 2003, opened the project in
> question (without running it), then opened Task Manager (machine is
> Win2000
> Pro).
> Task Manager showed aspnet_wp.exe as using about 21,000K. I then ran
> the
> project (F5). The amount of memory used by aspnet_wp.exe jumped up to
> about
> 39,000K immediately. I then navigated throughout the app through
> several
> pages. The amount of memory used by aspnet_wp.exe topped out around
> 47,000K.
>
> Is it safe to conclude that my ASP.NET app requires about 26MB of RAM
> (47000K - 21000K)? If not, what can I conclude, if anything, about my
> ASP.NET app and RAM usage? FWIW: I'm hoping to learn about physical RAM
> Usage (not virtual RAM).
>
> Thanks!
>
>



Nov 18 '05 #4
You need to use the perfmon .Net CLR memory, # Bytes in all heap for the
w3wp (2003) or aspnet_wp (2000/xp) instance.

The task manager doesn't represent certain memory usage...I think an example
is Process\Virtual Bytes, so I wouldn't recommend using it..

Karl

--
MY ASP.Net tutorials
http://www.openmymind.net/
"RC" <a@b.com> wrote in message
news:uZ**************@TK2MSFTNGP14.phx.gbl...
Agreed, but for a rough estimate, does Task Manager tell me anything
useful... "in the ballpark" kind of info, or would you characterize the
values it shows as approaching "totally meaningless"?

Thanks.
"Jason Brown [MSFT]" <i-******@online.microsoft.com> wrote in message
news:Ot*************@TK2MSFTNGP12.phx.gbl...
Using perfmon would be way better than using Task Manager - you can keep a cumualtive log that way, on more counters.
--
Jason Brown
Microsoft GTSC, IIS

This posting is provided "AS IS" with no warranties, and confers no
rights.

"RC" <a@b.com> wrote in message
news:uv**************@tk2msftngp13.phx.gbl...
I'm trying to get an idea of the amount of memory is being used by my
ASP.NET application.

Here's what I did:
I rebooted my machine and fired up VS.NET 2003, opened the project in
question (without running it), then opened Task Manager (machine is
Win2000
Pro).
Task Manager showed aspnet_wp.exe as using about 21,000K. I then ran the project (F5). The amount of memory used by aspnet_wp.exe jumped up to
about
39,000K immediately. I then navigated throughout the app through several pages. The amount of memory used by aspnet_wp.exe topped out around
47,000K.

Is it safe to conclude that my ASP.NET app requires about 26MB of RAM
(47000K - 21000K)? If not, what can I conclude, if anything, about my
ASP.NET app and RAM usage? FWIW: I'm hoping to learn about physical RAM Usage (not virtual RAM).

Thanks!



Nov 18 '05 #5

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

Similar topics

8
by: rbt | last post by:
Would a Python process consume more memory on a PC with lots of memory? For example, say I have the same Python script running on two WinXP computers that both have Python 2.4.0. One computer has...
5
by: Justice | last post by:
Currently I'm doing some experimenting with the XMLHTTP object in Javascript. Now, the XMLHttp object is asynchronous (at least in this case), and the following code causes a significant memory...
2
by: tomvr | last post by:
Hello I have noticed some 'weird' memory usage in a vb.net windows app The situation is as follows I have an app (heavy on images) with 2 forms (actually there are more forms and on starting...
6
by: Tom | last post by:
We have a VERY simple .NET C# Form Application, that has about a 23MB Memory Footprint. It starts a window runs a process and does a regular expression. I have done a GC.Collect to make sure that,...
2
by: Jarvis | last post by:
I've made a testing program to test the memory usage of some Data Forms. I create a MDI parent form with one single MDI child form, which is a Data Form generated by .NET Data Form Wizard. To...
3
by: Ian Taite | last post by:
Hello, I'm exploring why one of my C# .NET apps has "high" memory usage, and whether I can reduce the memory usage. I have an app that wakes up and processes text files into a database...
20
by: Philip Carnstam | last post by:
How come .Net applications use so much memory? Every application I compile uses at least 10 MB of memory, even the ones consisting of only a form and nothing else. If I minimize them though the...
13
by: Ilias Lazaridis | last post by:
How to detect memory leaks of python programms, which run in an environment like this: * Suse Linux 9.3 * Apache * mod_python The problem occoured after some updates on the infrastructure....
1
by: yzghan | last post by:
Hi all, I feel that my python script is leaking memory. And this is a test I have: log.write(" " + "test() ... memory usage: " + " ".join(repr(i/(1024*1024)) for i in getMemInfo()) + "\n") m...
1
by: Jean-Paul Calderone | last post by:
On Tue, 22 Apr 2008 14:54:37 -0700 (PDT), yzghan@gmail.com wrote: The test doesn't demonstrate any leaks. It does demonstrate that memory usage can remain at or near peak memory usage even after...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
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...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
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)...
0
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: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you
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...

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.