473,396 Members | 1,871 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,396 software developers and data experts.

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.Exception.

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 1626
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.Exception.

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...@yahoo.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********@gmail.comwrote in message news:11*********************@m37g2000prh.googlegro ups.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
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. ...
1
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. ...
6
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...
0
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....
1
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...
0
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...
9
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...
10
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...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
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
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
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...

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.