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

how mutch memory aspnet_wp.exe must use

Hi gurus,

Can anyone tell me please when I really must setup the value of memory that
aspnet_wp or w3wp must use in IIS server machine?

What I mean is that we have clients that have diferent specificatiosn in
their server machines that have IIS to runnning WebApplications. This can
change for example in RAM memory that is available. One have 1GB, other 2GB
and another 4GB. I.e., how can I know when I must change any configuration
in machine.config or even in IIS (at this case only in version 6.0) to limit
the memory that ASPNET process must use. I know the default value is 60% of
memory RAM, but is this ok in a 1GB memory RAM machine as it is ok in a 2GB
or 4GB memory RAM machine. Personally I don't think, but when can I change
this value?

I'm asking this because I have a client that have 2GB RAM and the aspnet
process grows until 1,3GB and then recycle (after some days of use, there
are 1800-2000 users using application). The problem is that this client have
other applications working there and the server not response efficiently to
requests when the process have this value. I should say that my WebApp use a
COM on some pages object and for that I'm using ReleseComObject. I should
say too that this WebApp is installed in a CLUSTER (may be this have
implications, I don't know).
I already run Profilers, windows performance for aspnet_wp, and mutch
more...

What do you sugest to do? Do I must limit the memory value that aspnet
process use to some value?
Where can I get more information of this (if possible from microsoft) to
present?
--
Programming ASP.NET with VB.NET

Thank's (if you try to help me)
Hope can help (if I try to help)

ruca
Nov 16 '06 #1
2 1640
If you are mixing ASP.NET and classic ASP, you should not have issues, so I
assume you are talking either a) other web application types (websphere,
etc.) or b) other applications that are not web related. If the client is
mixing web functionality with other application services, this is not an
optimal situation. The web services/sites should have a dedicated machine or
cluster.
>WebApp is installed in a CLUSTER (may be this have implications, I don't
know).
Could have HUGE implications. How are they balanced? How are the other
applications balanced? Where is state held? A single machine with multiple
types of apps presents issues. A cluster compounds the issues.

Can you throttle down memory? Certainly. Look at the memory used over a
short period of time (a few hours) and set the value down to that level. If
possible, this should be done in a "lab-type" situation prior to releasing
it on production. When you reset the level, all .NET apps will recycle, so
don't do it during the day on production (or let users know). I am not sure
what level to set it on, but examining the amount of memory used in a
reasonable amount of time and profiling the memory to see what is actually
active (I believe sysinternals.com has a free tool for this, otherwise you
will have to trialware or purchase).

Unfortunately, without knowing what it is beating up against, I am not 100%
confident this will solve your issue. It will if memory is the main issue,
but I am not fully convinced it is.

--
Gregory A. Beamer
MVP; MCP: +I, SE, SD, DBA
http://gregorybeamer.spaces.live.com

*************************************************
Think outside the box!
*************************************************
"ruca" <ru********@eloinformatica.ptwrote in message
news:e1**************@TK2MSFTNGP04.phx.gbl...
Hi gurus,

Can anyone tell me please when I really must setup the value of memory
that aspnet_wp or w3wp must use in IIS server machine?

What I mean is that we have clients that have diferent specificatiosn in
their server machines that have IIS to runnning WebApplications. This can
change for example in RAM memory that is available. One have 1GB, other
2GB and another 4GB. I.e., how can I know when I must change any
configuration in machine.config or even in IIS (at this case only in
version 6.0) to limit the memory that ASPNET process must use. I know the
default value is 60% of memory RAM, but is this ok in a 1GB memory RAM
machine as it is ok in a 2GB or 4GB memory RAM machine. Personally I don't
think, but when can I change this value?

I'm asking this because I have a client that have 2GB RAM and the aspnet
process grows until 1,3GB and then recycle (after some days of use, there
are 1800-2000 users using application). The problem is that this client
have other applications working there and the server not response
efficiently to requests when the process have this value. I should say
that my WebApp use a COM on some pages object and for that I'm using
ReleseComObject. I should say too that this WebApp is installed in a
CLUSTER (may be this have implications, I don't know).
I already run Profilers, windows performance for aspnet_wp, and mutch
more...

What do you sugest to do? Do I must limit the memory value that aspnet
process use to some value?
Where can I get more information of this (if possible from microsoft) to
present?
--
Programming ASP.NET with VB.NET

Thank's (if you try to help me)
Hope can help (if I try to help)

ruca

Nov 16 '06 #2
you are probably leaking com references. check to see if you use any double
dot notation.

a = comobj.object1.property;

this will cause a unmanged memory leak, as object1 will not be released
(until gc decides to). should be coded as:

obj1type obj1 = comobj.object1.
propertyType prop = obj1.property;
ReleaseComObject(obj1);
ReleaseComObject(comobj);

-- bruce (sqlwork.com)
"ruca" <ru********@eloinformatica.ptwrote in message
news:e1**************@TK2MSFTNGP04.phx.gbl...
Hi gurus,

Can anyone tell me please when I really must setup the value of memory
that aspnet_wp or w3wp must use in IIS server machine?

What I mean is that we have clients that have diferent specificatiosn in
their server machines that have IIS to runnning WebApplications. This can
change for example in RAM memory that is available. One have 1GB, other
2GB and another 4GB. I.e., how can I know when I must change any
configuration in machine.config or even in IIS (at this case only in
version 6.0) to limit the memory that ASPNET process must use. I know the
default value is 60% of memory RAM, but is this ok in a 1GB memory RAM
machine as it is ok in a 2GB or 4GB memory RAM machine. Personally I don't
think, but when can I change this value?

I'm asking this because I have a client that have 2GB RAM and the aspnet
process grows until 1,3GB and then recycle (after some days of use, there
are 1800-2000 users using application). The problem is that this client
have other applications working there and the server not response
efficiently to requests when the process have this value. I should say
that my WebApp use a COM on some pages object and for that I'm using
ReleseComObject. I should say too that this WebApp is installed in a
CLUSTER (may be this have implications, I don't know).
I already run Profilers, windows performance for aspnet_wp, and mutch
more...

What do you sugest to do? Do I must limit the memory value that aspnet
process use to some value?
Where can I get more information of this (if possible from microsoft) to
present?
--
Programming ASP.NET with VB.NET

Thank's (if you try to help me)
Hope can help (if I try to help)

ruca

Nov 16 '06 #3

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

Similar topics

7
by: Clement | last post by:
hi, i have an asp.net site and is using SQL Server 2k. i realize the aspnet_wp.exe memory usage keep growing and i will receive an error for the pages that call the sql connection. others page...
0
by: Rob | last post by:
hi! i am running a aspnet-application on a machine with 1 gb ram. looking into the taskmanager, the aspnet_wp-process is going to use up to 60 megs heap memory and about 55 megs virtual memory....
2
by: Ashish | last post by:
hi all, I have been doing some performance testing of a asp_net website, to be hosted on a shared server .. as far as i understand every page when accessed first time is compiled and loaded in...
15
by: Chetan Raj | last post by:
Hi All, We have a web-application in asp.net that interacts with legacy code written in COM. The memory usage in aspnet_wp.exe increases every sec and never reduces. Using the .NET performance...
4
by: RC | last post by:
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...
1
by: Teemu Keiski | last post by:
Hi, I have following type of scenario (also explained here http://blogs.aspadvice.com/joteke/archive/2005/01/10/2196.aspx ) We have problematic web server (wink2 Standard, 1.5GB of physical...
9
by: Anton | last post by:
{Willy Skjveland} Hi, how can I trace a Memory leak in aspnet_wp.exe? {Rheena} One moment please while I search it for you. It may take me a few moments {Willy Skjveland} I need to find out...
2
by: Rishan | last post by:
Hi, I'm trying to debug a memory leak on a production application for one of my clients. The aspnet_wp.exe, if left to grow, will eventually consume enough memory to throw an out of memory...
1
by: ruca | last post by:
Hi gurus, Can anyone tell me please when I really must setup the value of memory that aspnet_wp or w3wp must use in IIS server machine? What I mean is that we have clients that have diferent...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
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?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
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,...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 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 a new...

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.