473,320 Members | 2,110 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.

asp.net recycled

I am getting the dreaded:

aspnet_wp.exe (PID: 3892) was recycled because memory consumption exceeded
the 1228 MB (60 percent of available RAM).

(asp.net 2.0 on windows 2003 server)

Believing this is a memory leak (or a memory retention issue) I am looking
carefully at the process to determine what's causing the problem.

But I am a litle stuck and would appreciate some help:

I have been monitoring several performance counters in order to clue me in
to what is happening:

For example, the process, at the moment, shows a VM Size (task mgr) of
330,000K which roughly cooresponds to the process/private bytes counter.
However, the .NET Clr Memory counter '# Bytes in all Heaps' shows 46758028
bytes or 45,662K. I believe the ratio of these two maintains until the I
reach the recycle point (through i will verify that over the next several
hours).

Some questions:

Does that ratio suggest that non-managed memory (something in COM) is my
problem? Or is this simply a matter of the .net memory allocator allocating
new blocks and growing the VM Size (until it reached 60%)? If the latter,
then what causes the VM Size decrease?

btw, regarding non-managed memory, I don't do any explicit interop calls but
do make heavy use of the database, as well as, xmldocument.


Jun 16 '07 #1
2 1238
Hello pb,

Examine this Tess' post http://blogs.msdn.com/tess/archive/2...25/496899.aspx

---
WBR, Michael Nemtsev [.NET/C# MVP].
My blog: http://spaces.live.com/laflour
Team blog: http://devkids.blogspot.com/

"The greatest danger for most of us is not that our aim is too high and we
miss it, but that it is too low and we reach it" (c) Michelangelo

pI am getting the dreaded:
p>
paspnet_wp.exe (PID: 3892) was recycled because memory consumption
pexceeded the 1228 MB (60 percent of available RAM).
p>
p(asp.net 2.0 on windows 2003 server)
p>
pBelieving this is a memory leak (or a memory retention issue) I am
plooking carefully at the process to determine what's causing the
pproblem.
p>
pBut I am a litle stuck and would appreciate some help:
p>
pI have been monitoring several performance counters in order to clue
pme in to what is happening:
p>
pFor example, the process, at the moment, shows a VM Size (task mgr)
pof 330,000K which roughly cooresponds to the process/private bytes
pcounter. However, the .NET Clr Memory counter '# Bytes in all Heaps'
pshows 46758028 bytes or 45,662K. I believe the ratio of these two
pmaintains until the I reach the recycle point (through i will verify
pthat over the next several hours).
p>
pSome questions:
p>
pDoes that ratio suggest that non-managed memory (something in COM) is
pmy problem? Or is this simply a matter of the .net memory allocator
pallocating new blocks and growing the VM Size (until it reached 60%)?
pIf the latter, then what causes the VM Size decrease?
p>
pbtw, regarding non-managed memory, I don't do any explicit interop
pcalls but do make heavy use of the database, as well as, xmldocument.
p>
Jun 16 '07 #2
Hi,

To troubleshoot memory leak problem in ASP.NET, we first need to know which
objects are using the most of the memory, usually doing this effectively
will need to use WinDBG. For example:

#If broken it is, fix it you should : ASP.NET Memory Leak Case Study:
Sessions Sessions Sessions¡*
http://blogs.msdn.com/tess/archive/2...02/523553.aspx
Please note our MSDN Managed Newsgroup support service doesn't support dump
analysis, though. Therefore I can only give some general suggestion on
where to look.

Regards,
Walter Wang (wa****@online.microsoft.com, remove 'online.')
Microsoft Online Community Support

==================================================
When responding to posts, please "Reply to Group" via your newsreader so
that others may learn and benefit from your issue.
==================================================

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

Jun 18 '07 #3

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

Similar topics

0
by: Sheldon Beddow | last post by:
Hello All I hope I am posting this question in the right place. I am running into a situation on one of our web servers that is casuing an Event ID: 1001, and states: aspnet_wp.exe (PID: xxxx)...
2
by: Sunil Menon | last post by:
Dear All, I would like run a program that does an IISReset when aspnet_wp.exe (PID: 1234) was recycled...In IIS service we have a property "Recovery" where you can specify a program to run...but...
1
by: tony_wang | last post by:
Event ID 1000 aspnet_wp.exe (PID: 1956) was recycled because memory consumption exceeded the 613 MB (60 percent of available RAM). Can you tell me how to fix this error? OS: window 2000...
1
by: Jarrod Hermer | last post by:
Hi All, I am trying to debug a strange problem of duplicate entries in my database when I came across the following errors in the event log (see bottom of mail). The web server runs the database...
2
by: Welman Jordan | last post by:
In process session states will lose. So, will the Cache items get lost when aspnet_wp.exe is recycled? And how about the Application variables?
4
by: José Miguel del Río Martínez | last post by:
Hi, we are experiencing event ID 1001 (aspnet_wp.exe recycled due to memory consumption) in our website. The aspnet_wp.exe consumes up to 613 Mb (60% of RAM) and then recycles itself. According...
9
by: Raju | last post by:
Hi , We are develoed the .net application(asp.net, vb.net and sql server ). Till yesterday there was no problem with the application. Is was working fine. In our application we have one Lock and...
1
by: bmmodi | last post by:
Hello, We have three webservers that host the same web application (written in VB.NET running on .NET Framework 1.0 SP2). We receive the following error (aspnet_wp.exe (PID: 1864) was recycled...
1
by: Sam Learner | last post by:
Hello, you guys have been very helpfull in responding to questions from the newgroup community and thank everyone for your contributions. I have a Question, I am developping a software to do clean...
1
by: Hubert Fröhlich | last post by:
Hi list, when doing a large Insert I get in the logfile: 2004-08-03 07:23:46 LOG: recycled transaction log file "000001BA000000BD" 2004-08-03 07:34:00 LOG: recycled transaction log file...
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...
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...
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

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.