473,806 Members | 2,707 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

w3wp memory over 1G causing exception

The w3wp.exe process' memory seems to go from below 200M to over 1G
with no warning, causing Memory.Exceptio n.

I have searched around and read some answers, and most seem very
vague. They say to "debug." Well duh, that is what I am trying to
do, and there appears to be issues with my code or third party
controls, but I need to pin point the culprits in my code. I can't
use my Visual Studio.NET to "debug" obviously, so what are people
saying when they say to "debug"?

What "debugging tools" are there I can use? Thanks.

Version - .NET 1.x
OS - 2003

Jun 26 '07 #1
4 1644
Search on "ADplus" which can capture a snapshot of the process and threads on
a crash.

Otherwise, this is usually because managed - and particularly unmanaged
(connections, file handles, sockets, etc) resources aren't being properly
disposed after use.
-- Peter
Site: http://www.eggheadcafe.com
UnBlog: http://petesbloggerama.blogspot.com
BlogMetaFinder( BETA): http://www.blogmetafinder.com

"David C" wrote:
The w3wp.exe process' memory seems to go from below 200M to over 1G
with no warning, causing Memory.Exceptio n.

I have searched around and read some answers, and most seem very
vague. They say to "debug." Well duh, that is what I am trying to
do, and there appears to be issues with my code or third party
controls, but I need to pin point the culprits in my code. I can't
use my Visual Studio.NET to "debug" obviously, so what are people
saying when they say to "debug"?

What "debugging tools" are there I can use? Thanks.

Version - .NET 1.x
OS - 2003

Jun 26 '07 #2
On Jun 26, 6:51 am, Peter Bromberg [C# MVP]
<pbromb...@yaho o.yabbadabbadoo .comwrote:
Search on "ADplus" which can capture a snapshot of the process and threads on
a crash.

Otherwise, this is usually because managed - and particularly unmanaged
(connections, file handles, sockets, etc) resources aren't being properly
disposed after use.
-- Peter
All of my objects are managed, and I do not use any unmanaged code.
So I am at the mercy of Garbage Collector, am I not? So how can I
debug GC to see how it dispose (or doesn't) resources.
Jun 26 '07 #3
On Jun 26, 11:51 am, "Juan T. Llibre" <nomailrepl...@ nowhere.com>
wrote:
re:
!The rapid memory growth is happening on the production server, so how
!will I attach Visual Studio.NET to debug it while scores of users are on it?

You shouldn't be debugging on the production server, anyway.

What is stopping you from debugging on your development server ?
I have no idea what is that the users do that triggers rapid memory
growth.

Jun 26 '07 #4
re:
!I have no idea what is that the users do that triggers rapid memory growth.

You have available all sorts of performance counters
which can give you pointers regarding what the problem is.


Juan T. Llibre, asp.net MVP
asp.net faq : http://asp.net.do/faq/
foros de asp.net, en español : http://asp.net.do/foros/
=============== =============== ========
"David C" <pr********@gma il.comwrote in message news:11******** *************@m 37g2000prh.goog legroups.com...
On Jun 26, 11:51 am, "Juan T. Llibre" <nomailrepl...@ nowhere.com>
wrote:
>re:
!The rapid memory growth is happening on the production server, so how
!will I attach Visual Studio.NET to debug it while scores of users are on it?

You shouldn't be debugging on the production server, anyway.

What is stopping you from debugging on your development server ?

I have no idea what is that the users do that triggers rapid memory
growth.

Jun 26 '07 #5

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

Similar topics

3
2253
by: Ricky Chan | last post by:
I am using Windows2003 server with IIS6. I tried to set the maximum used memory to 50M However, the process is not recycled when the w3wp process exceed 50m memory according to task manager. besides, what is the difference between memory limit in machine.config and IIS memory recycling.. I need to set both, or set any one?
1
2109
by: spicyz | last post by:
I'm receiving an exception when my webmethod exits after opening/closing an Access database. I can reproduce this easily enough by creating a new default ASP .NET Web Service in VS.NET 2003. Adding this code to the default HelloWorld() webmethod will cause the problem. String* sConnection = S"Provider=Microsoft.Jet.OLEDB.4.0;User ID=Admin;Data Source=c:\\mydb.mdb";
6
6572
by: mangesh | last post by:
1 - How to cach invalid memory access exception ? Does standard library provide any help ? 2 - Also when one write catch(...) { //........... } what is wirtten inside catch block . How do we know type of exception
0
1049
by: Aryan | last post by:
Hi All, My application was working fine and giving me proper trace messages, but now all of sudden it started showing expcetion as "Object reference not set to an instance of an object. Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code. Exception Details: System.NullReferenceException:...
1
3289
by: Jeremy Chapman | last post by:
Last night I noticed a bunch of our web apps were getting out of memory exceptions. I checked task manager on the server and the w3wp.exe process had eaten up about 780 megs of memory. I did an IIS reset and it has solved (temporarily probably) the issue. Memory usage dropped to about 50 megs or so. This morning its up to 180megs. Can I tell what apps within asp.net are using that memory?
0
1414
by: =?Utf-8?B?SUthdHphdg==?= | last post by:
What an annoying bug, can someone help here, description of the problem can be described here: http://www.xerratus.com/2006/03/24/AnnoyingInvalidAccessToMemoryLocationExceptionSolution.aspx and yet again here: http://forums.asp.net/t/950585.aspx?PageIndex=1 Basically the internet is filled with sad developers who cannot find a workaround to this seems like VS2005 Bug. Can someone please answer the question here. Itzik Kaztav
9
1960
by: TC | last post by:
Hey All, I posted this to the Crypto users group and forgot to add the VB.Net users group. I apologize for any confusion. I have been testing a try / catch / finally block and purposely raising exceptions and I've noticed that if an exception of "Length of the data to decrypt is invalid." is raised with the CryptoStream object, later this exception will get raised a second time and thrown to the caller when trying to close the stream...
10
2995
by: =?Utf-8?B?U2Vhbg==?= | last post by:
I have two win2003 sp1 servers running iis 6.0 running the same application. When I connected to the first server a W3WP process (application pool is created) whoose size is approax 14MB When I connect to the other machine the size is approx 114MB. Does anyone have any idea what the extra 100 MB is being used for One Thing to note .NEt 1.1 was installed on the server consuming the 100MB. I have removed the extension and uninstalkled the...
0
9599
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 effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
10624
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, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
10371
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 tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
0
10111
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 protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
9193
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, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
7650
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 presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
5684
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
4330
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
3
3010
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.