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

ASP.NET not using enough memory?

I have a W2K asp.net web site (ver 1.0.3705 ) that does not appear to
be using RAM as well as it could be. Looking at the performance
counters I see the following:

aspnet_wp.exe process
Mem Usage 100Meg
Virtual Memory size 80Meg
Virtual bytes 576Meg
Pages Faults/sec 100

Physical RAM 1024Meg
Available RAM 612Meg
Virtual Memory 1536Meg
Total Memory in Use 318Meg

Why is virtual memory being used when three is plenty of available
RAM? I would think that using more RAM would limit the paging that I
see happening. In the example above the web site is not experiencing
much of a problem, but occasionally the aspnet_wp virtual bytes raise
above 1700Meg and there is a noticeable slowdown. When this happens,
there is still plenty of free RAM that is not being used.

Would the aspnet_wp.exe process use more RAM if I upgraded to 2Gig?
Is there a way to have this process use a larger percentage of the
existing 1Gig?

Thanks
Scott Foley
Nov 17 '05 #1
1 2328
Under machine.config file in the <processmodel> tag there should be an
attribute called memoryLimit. This is the maximum percentage the
ASP.NET worker process will use. Increase it and it should use more
of the system memory.
sc********@bigfoot.com (SFoley) wrote in message news:<8f**************************@posting.google. com>...
I have a W2K asp.net web site (ver 1.0.3705 ) that does not appear to
be using RAM as well as it could be. Looking at the performance
counters I see the following:

aspnet_wp.exe process
Mem Usage 100Meg
Virtual Memory size 80Meg
Virtual bytes 576Meg
Pages Faults/sec 100

Physical RAM 1024Meg
Available RAM 612Meg
Virtual Memory 1536Meg
Total Memory in Use 318Meg

Why is virtual memory being used when three is plenty of available
RAM? I would think that using more RAM would limit the paging that I
see happening. In the example above the web site is not experiencing
much of a problem, but occasionally the aspnet_wp virtual bytes raise
above 1700Meg and there is a noticeable slowdown. When this happens,
there is still plenty of free RAM that is not being used.

Would the aspnet_wp.exe process use more RAM if I upgraded to 2Gig?
Is there a way to have this process use a larger percentage of the
existing 1Gig?

Thanks
Scott Foley

Nov 17 '05 #2

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

Similar topics

26
by: codymanix | last post by:
Last night I had several thought about RAII and want to discuss a bit. Why doesn't CSharp support destructors in structs? Wouldn't that make RAII possible like in C++? When the struct goes out of...
40
by: Elijah Bailey | last post by:
I want to sort a set of records using STL's sort() function, but dont see an easy way to do it. I have a char *data; which has size mn bytes where m is size of the record and n is the...
121
by: typingcat | last post by:
First of all, I'm an Asian and I need to input Japanese, Korean and so on. I've tried many PHP IDEs today, but almost non of them supported Unicode (UTF-8) file. I've found that the only Unicode...
18
by: Paul Shipley | last post by:
Hi, Does anyone know a way of converting the __LINE__ macro to a string at compile time? The reason I ask it because I want to put some debug information in to tell me if memory is not being...
47
by: Bonj | last post by:
I downloaded the gzlib library from zlib in order to do compression. (http://www.gzip.org/zlib) The prototype of the compression function seems to be int compress (Bytef *dest, uLongf *destLen,...
16
by: Martin Jørgensen | last post by:
Hi, I've made a program from numerical recipes. Looks like I'm not allowed to distribute the source code from numerical recipes but it shouldn't even be necessary to do that. My problem is...
26
by: myeates | last post by:
Hi Anyone ever done this? It looks like Python2.4 won't take a length arg Mathew
35
by: keerthyragavendran | last post by:
hi i'm downloading a single file using multiple threads... how can i specify a particular range of bytes alone from a single large file... for example say if i need only bytes ranging from...
71
by: desktop | last post by:
I have read in Bjarne Stroustrup that using malloc and free should be avoided in C++ because they deal with uninitialized memory and one should instead use new and delete. But why is that a...
11
by: pereges | last post by:
Hello, can some one please guide me a little into using unions. I read about unions in K & R but I am finding it difficult to apply to my problem at hand. I want to save up some space by using...
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:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
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...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
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
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
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

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.