473,466 Members | 1,658 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

High Memory Usage aspnet_wp.exe

Hi,

Our customer has a win2k Xeon 2.0 web server with 2GB of Ram. After a
certain time the aspnet_wp.exe consumes %70 of the Ram and comes to a
standstill. We end the process and everything is ok. We used memory profiler
to find out what is causing the problem but couldn't come to a result. I've
noticed that their is a patch for this type of cause on Microsoft's web site
but no download.

The framework is 1.1.4322

Cheers

Erkan Tatlidil
Nov 30 '05 #1
7 5497
Hi,

If you go to the processModel in your machine.config file (default
location>C:\WINDOWS\Microsoft.NET\Framework\v1.1.4 322\CONFIG) it has a
setting...

<processModel enable="true" timeout="Infinite" idleTimeout="Infinite"
shutdownTimeout="0:00:05" requestLimit="Infinite" requestQueueLimit="5000"
restartQueueLimit="10" memoryLimit="60" webGarden="false"
cpuMask="0xffffffff" userName="System" password="AutoGenerate"
logLevel="Errors" clientConnectedCheck="0:00:05"
comAuthenticationLevel="Connect" comImpersonationLevel="Impersonate"
responseDeadlockInterval="00:03:00" maxWorkerThreads="20" maxIoThreads="20"/>

Now, the memoryLimit = 60 signifies the percentage of memory which could be
reached before a process recycles. There could be some memory leak that is
happening in your application. Just ensure that you have debug="true" in your
web.config file for all the applications and see if that helps.

Thanks,
Rahul Soni

"Erkan Tatlidil" wrote:
Hi,

Our customer has a win2k Xeon 2.0 web server with 2GB of Ram. After a
certain time the aspnet_wp.exe consumes %70 of the Ram and comes to a
standstill. We end the process and everything is ok. We used memory profiler
to find out what is causing the problem but couldn't come to a result. I've
noticed that their is a patch for this type of cause on Microsoft's web site
but no download.

The framework is 1.1.4322

Cheers

Erkan Tatlidil

Nov 30 '05 #2
Erkan,

I've noticed this issue also. I'd read article on 4guysfromrolla.com about
..Net Framework not GC issues. Now, I explicitly close all
objects/connections opened and then set them to nothing. Just closing
connection is not enough.Also, try forcing GC after certain interval. In
Win2003 you can configure settings on application pool to automatically
restart aspnet_wp. On W2k only way is either restart W3 services or force
GC.

HTH

"Erkan Tatlidil" <Erkan Ta******@discussions.microsoft.com> wrote in message
news:49**********************************@microsof t.com...
Hi,

Our customer has a win2k Xeon 2.0 web server with 2GB of Ram. After a
certain time the aspnet_wp.exe consumes %70 of the Ram and comes to a
standstill. We end the process and everything is ok. We used memory
profiler
to find out what is causing the problem but couldn't come to a result.
I've
noticed that their is a patch for this type of cause on Microsoft's web
site
but no download.

The framework is 1.1.4322

Cheers

Erkan Tatlidil

Nov 30 '05 #3
Hi,

Just wanted to add that, I was wrong about the debug="true"... You should
have it as debug="false" in all your web.config files.

Sorry for that mistake.
Nov 30 '05 #4
Hi Nilesh,

I agree partially to you, but forcing GC is never a good idea. There are
multiple issue around that and moreover, without knowing the applications, it
would be rather difficult to say that the issue is being caused by the GC not
getting kicked in.

http://msdn.microsoft.com/msdnmag/is...I/default.aspx
http://msdn.microsoft.com/msdnmag/is...2/default.aspx
http://msdn.microsoft.com/library/de...etgcbasics.asp

--
Thanks,
Rahul Soni

^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
The secret to creativity is knowing how to hide your sources
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
"Nilesh Deshpande" wrote:
Erkan,

I've noticed this issue also. I'd read article on 4guysfromrolla.com about
..Net Framework not GC issues. Now, I explicitly close all
objects/connections opened and then set them to nothing. Just closing
connection is not enough.Also, try forcing GC after certain interval. In
Win2003 you can configure settings on application pool to automatically
restart aspnet_wp. On W2k only way is either restart W3 services or force
GC.

HTH

"Erkan Tatlidil" <Erkan Ta******@discussions.microsoft.com> wrote in message
news:49**********************************@microsof t.com...
Hi,

Our customer has a win2k Xeon 2.0 web server with 2GB of Ram. After a
certain time the aspnet_wp.exe consumes %70 of the Ram and comes to a
standstill. We end the process and everything is ok. We used memory
profiler
to find out what is causing the problem but couldn't come to a result.
I've
noticed that their is a patch for this type of cause on Microsoft's web
site
but no download.

The framework is 1.1.4322

Cheers

Erkan Tatlidil


Nov 30 '05 #5
Thanks for the info. Even though I force the GC and set all objects to
nothing the aspnet_wp.net process still continues to grow in the memory.

We are planing to upgrade the box to a w2k3 server this saturday. I'll see
how we go and let you know about the results.

Cheers

Erkan

"Rahul Soni" wrote:
Hi,

Just wanted to add that, I was wrong about the debug="true"... You should
have it as debug="false" in all your web.config files.

Sorry for that mistake.

Nov 30 '05 #6
Hi Stan,

We use datasets but not on all pages. The max dataset is 4 which is used
only on one page.

Cheers

Erkan

"Spam Catcher" wrote:
"=?Utf-8?B?RXJrYW4gVGF0bGlkaWw=?=" <Erkan
Ta******@discussions.microsoft.com> wrote in
news:49**********************************@microsof t.com:
Our customer has a win2k Xeon 2.0 web server with 2GB of Ram. After a
certain time the aspnet_wp.exe consumes %70 of the Ram and comes to a
standstill. We end the process and everything is ok. We used memory
profiler to find out what is causing the problem but couldn't come to
a result. I've noticed that their is a patch for this type of cause on
Microsoft's web site but no download.


Are you using a lot of datasets? Datasets gobble memory if the result set
is large.

--
Stan Kee (sp**********@rogers.com)

Dec 1 '05 #7
Hi Stan,

Select * will be a crazy thing to do hehehe.

Anyway last night we uninstalled .net framework 1.1.4 SP 1 and reinstalled
it today we noticed that once the memory usage goes up to 800 mb the GC kicks
in and recycles it. So all day it was in a stable condition.

Cheers

Erkan

"Spam Catcher" wrote:
"=?Utf-8?B?RXJrYW4gVGF0bGlkaWw=?="
<Er***********@discussions.microsoft.com> wrote in
news:0D**********************************@microsof t.com:
Hi Stan,

We use datasets but not on all pages. The max dataset is 4 which is
used only on one page.


Check and see if those datasets are doing a SELECT * FROM TABLE : )

--
Stan Kee (sp**********@rogers.com)

Dec 1 '05 #8

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

Similar topics

3
by: ianstirkcv | last post by:
Hello, I wonder if you can please help… We are running a web application built using .net framework version 1.0, service pack 2, running on Windows 2000 server, service pack 3. The server has...
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....
4
by: djc | last post by:
the aspnet_wp.exe process in taking up lots of memory. Right now just the one main page loads and imediately goes to the top of the memory usage list with around 32MB of memory usage. The page only...
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...
16
by: JCauble | last post by:
We have a large Asp.net application that is currently crashing our production servers. What we are seeing is the aspnet_wp eat up a bunch of memory and then stop unexpectedly. Does not recycle. ...
2
by: DKode | last post by:
Ok, I restart the aspnet_wp.exe, memory usage is at about 3 mb, the first time I run one of my asp.net apps, the memory usage shoots to 30 mb usage and remains there. Even if I close the IE...
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,...
1
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
0
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...
0
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?

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.