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

aspnet_wp recycled

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 to MS docs, as:
- .NET CLR Memory / # Bytes in all Heaps is low
- Process / aspnet_wp / Private bytes is high (aprox. 613 Mb)
we guess it is mostly native memory.
Our app is a mix of .NET and COM+ DLLs. In fact, our .NET DLL's call
third-party COM+ DLLs (hence, native memory).
Although all the memory (613 Mb) is apparently assigned to aspnet_wp.exe, we
would like to know who (which DLL) is really allocating so much memory.
Is it possible?
I’ve read several MS docs and I’m diving into WinDbg + SOS.dll. It looks
promising but it is hard. How could I check this with WinDbg?

Nov 18 '05 #1
4 1823
Hi José:

To diagnose a memory related problem like the one you describe, I
think I would first start with the CLR profiler:

http://msdn.microsoft.com/library/de...nethowto13.asp

HTH,

--
Scott
http://www.OdeToCode.com
On Thu, 5 Aug 2004 05:37:04 -0700, "José Miguel del Río Martínez"
<Jo*******************@discussions.microsoft.com > wrote:
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 to MS docs, as:
- .NET CLR Memory / # Bytes in all Heaps is low
- Process / aspnet_wp / Private bytes is high (aprox. 613 Mb)
we guess it is mostly native memory.
Our app is a mix of .NET and COM+ DLLs. In fact, our .NET DLL's call
third-party COM+ DLLs (hence, native memory).
Although all the memory (613 Mb) is apparently assigned to aspnet_wp.exe, we
would like to know who (which DLL) is really allocating so much memory.
Is it possible?
I’ve read several MS docs and I’m diving into WinDbg + SOS.dll. It looks
promising but it is hard. How could I check this with WinDbg?


Nov 18 '05 #2
Thanks, Scott & Hans.
When I posted my question I had already read both links you send.
In fact, I had already downloaded and tried CLR Profiler and Allocation
Profiler.
The problem is both the links and the applications focus on managed memory,
not native memory, which seems to be my problem.

Nov 18 '05 #3
José,

since it is a COM component (eventually running in the context of a COM+
application), you can write a small application (e.g. in VB6) that uses this
component. Depending if you use it in a COM+ application or not, you can
check the memory consumption of the DLLHost.exe application or the VB
applicaton. Then, when the component is compiled with symbol file creation
on, use a tool like "LeakDiag" to find the memory leak (or use "umdh.exe").
Note : LeakDiag can be obtained from your Microsoft Premium Support Engineer
(it is not free downloadable).

success.

Hans.

"José Miguel del RÃ*o MartÃ*nez" wrote:
Thanks, Scott & Hans.
When I posted my question I had already read both links you send.
In fact, I had already downloaded and tried CLR Profiler and Allocation
Profiler.
The problem is both the links and the applications focus on managed memory,
not native memory, which seems to be my problem.

Nov 18 '05 #4
Thanks, Hans:
I've been trying LeakDiag but, as far as I'm aware, it works by recording
every allocation. No way to know whether they were ever released or what is
currently allocated. Well, in fact it has a flag to detect "memory leaks"
based on some parameters you configure but this is not really what I'm
looking for.
Maybe umdh best suits my needs: I'll get a umdh dump when aspnet_wp.exe gets
considerably overweighted in order to see what's in the heap and who
allocated it.
Additionally I'm working on obtaining at that time a .dmp file of the
process (i.e. with ADplus) and analyzing it later with WinDbg to obtain the
same information.

"Hans De Smaele" wrote:
José,

since it is a COM component (eventually running in the context of a COM+
application), you can write a small application (e.g. in VB6) that uses this
component. Depending if you use it in a COM+ application or not, you can
check the memory consumption of the DLLHost.exe application or the VB
applicaton. Then, when the component is compiled with symbol file creation
on, use a tool like "LeakDiag" to find the memory leak (or use "umdh.exe").
Note : LeakDiag can be obtained from your Microsoft Premium Support Engineer
(it is not free downloadable).

success.

Hans.

"José Miguel del RÃ*o MartÃ*nez" wrote:
Thanks, Scott & Hans.
When I posted my question I had already read both links you send.
In fact, I had already downloaded and tried CLR Profiler and Allocation
Profiler.
The problem is both the links and the applications focus on managed memory,
not native memory, which seems to be my problem.

Nov 18 '05 #5

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

Similar topics

0
by: warlord | last post by:
I have recently converted a site to using the ASP.NET StateServer, and in order to ensure that my changes were successful I made sure I had data in session, and set the idleTimeout value in the...
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...
2
by: Matt Sollars | last post by:
Hi all. I'm having a nasty problem. A client's website was originally written with classic ASP. They requested a new portion of the site that was deemed a perfect candidate for ASP.NET. So, .NET...
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...
0
by: Simon McCulloch | last post by:
Hi all I have an ASP.net website that uses an aspx page locate and stream a file to an authenticated user and I'm getting the error Aspnet_wp.exe (PID:XXXX) stopped unexpectedly which the user...
2
by: RaptorsFan | last post by:
aspnet_wp process accumulates memory usage up to the point when it's more than 60% of available RAM (2G) and none of .NET applications function. Sometimes user is able to login, navigate between...
2
by: Antonio Concepcion | last post by:
Hi! We have an ASP.NET web site experiencing errors saying that aspnet_wp.exe got into a deadlock state and was recycled. Specifically the Client browser gets the following message: ...
2
by: Sidharth | last post by:
Hello, We are experiencing some issues with the aspnet_wp process on our live servers. The problems are intermittent and we cannot reproduce it on our dev and test servers. Currently around...
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: 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
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
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
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
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
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
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.