473,659 Members | 3,117 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Who can reply this question about Memory limit reached,Aspnet_ wp recycled?

27 New Member
We are experiencing a memory leak in one of our applications. It is a web-based reporting system that produces large (> 500mb) PDF reports. It takes approx 4 hours to run the largest of these reports and during this process we have been experiencing issues with the aspnet worker process being recycled as the application's memory keeps growing to around 600mb. From my investigation, it appears that the memory is becoming bloated with character and numeric data created from DataSets. Each iteration of the report process creates 6 DataSets and these iterations occur as many as 40000 times during the creation of the larger report. We are making sure that the DataSets are disposed of (we are even clearing the DataSets after use to try to ensure that their associated objects are freed) but I am finding that the aspnet processes memory is chock-full of the character and numeric data that I would expect to be contained in these DataSets.

Using ADPlus, I have taken a hang dump from the aspnet_wp process when it got to around 350mb of memory consumption. Upon analysing the dump file, I found that most of the memory is being taken up by millions of objects containing the data that is used in the reports (see below). I have run GCRoot on about 50 different objects, but it doesn’t return anything so now I am stuck. How can I find out why this data isn’t being collected and cleared?

Any help you have to offer is greatly appreciated!

...

0x79ba8cc8 9,015 108,180 System.Int32
0x79ba182c 5,472 131,328 System.Collecti ons.ArrayList/ArrayListEnumer atorSimple
0x0be9fc58 4,160 133,120 System.Xml.Docu mentXPathNaviga tor
0x79ba0d74 6,355 152,520 System.Collecti ons.ArrayList
0x79bc2860 10,448 167,168 System.DateTime
0x79bbe7d0 13,977 167,724 System.Boolean
0x79ba968c 4,383 227,916 System.Collecti ons.Hashtable
0x00be31e8 7,834 542,964 System.Int32[]
0x79bc1974 34,345 824,280 System.Decimal
0x00be34a8 4,508 1,009,248 System.Collecti ons.Hashtable/bucket[]
0x0d5cbe4c 16,806 1,075,584 System.Data.Dat aColumnProperty Descriptor
0x0e3d6cf4 30,193 1,207,720 System.Data.Dat aRow
0x00be6d9c 47 1,829,460 System.DateTime[]
0x0015da08 399 2,515,704 Free
0x00be236c 59,992 2,893,624 System.Char[]
0x00be292c 2,229 3,394,404 System.Byte[]
0x00be5fd4 251 21,703,896 System.Decimal[]
0x00be209c 23,881 27,103,640 System.Object[]
0x79b925c8 1,169,609 56,849,864 System.String
Mar 22 '07 #1
0 1267

Sign in to post your reply or Sign up for a free account.

Similar topics

3
5778
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 1 gigabytes of RAM. We are using Perfmon to monitor memory usage of aspnet_wp.exe, CPU usage, and % time in the Garbage Collector.
1
2091
by: | last post by:
We have about 4 .net applications on a windows 2000 IIS5 server, and recently the memory of the aspnet_wp.exe process has been increasing quickly until the process is automatically recycled do to reaching the 60% threshold of memory usage. This is not normal, and I need to determine which application is causing memory to spike. Does anyone know how to pinpoint which app is tied to the memory leak? Any help would be appreciated. Scott
25
2369
by: Zeng | last post by:
I finally narrowed down my code to this situation, quite a few (not all) of my CMyClass objects got hold up after each run of this function via the simple webpage that shows NumberEd editbox. My memory profile shows that those instances survive 3 rounds of GC collections - it's not what I expected. In my real code, CMyClass occupies big amount of memory and they all share one stance of another class that I don't have enough memory hold...
0
1378
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. also there are up to 500 changes in pagefaults per second. the cpu-usage of aspnet_wp is varying between 25 and 95 percent. the taskmanager told me, there are about 700mb heap memory available. the memorylimit-value in my machine.config-file is...
1
3941
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 server dotnetframework: 1.0 Physical Memory: 1G
2
1368
by: Ashish | last post by:
hi all, I have been doing some performance testing of a asp_net website, to be hosted on a shared server .. as far as i understand every page when accessed first time is compiled and loaded in the memory of aspnet_wp , so that would mean more distinct pages more the memory consumed by aspnet_wp, this is good since it would mean serving compiled copy of the page , which is good for speed.. another understanding is that once a page is...
2
5161
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 the pages but can't perform any operations that generate thing like PDF files using Crystal Reports etc. Sometimes the application can't even be loaded and sign-in page stays blank. There are no events that are logged in the event viewer to point to...
0
1153
by: kdd | last post by:
I have a ASP .NET C# web application using IIS 5.0 and .NET 1.1 on a W2K Server machine. Back-end is SQL Server 2000. When I deploy it and try to use the application/web-site I get the "aspnet_wp.exe was recycled because memory consumption exceeded 60 percent ...." error. It has * a C# dll (developed in-house) registered in global assembly cache. * several C# web services * custom web controls * 3rd party C++ dlls
1
1908
by: SenthilVel | last post by:
Hi all, am facing an error when i execute my aspx page for reporting. i query the db and get the data in a dataset and bind to the datagrid. my query is returning me a considerable big amount of data. The error message which i get in the event log is :
0
8428
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, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
8851
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
8747
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...
1
8528
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 Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
7356
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
6179
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
5649
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 then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
4335
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
2752
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

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.