Hi all
I am not an ASP developer but I am in a support case for our customer who's experiencing resource problems that seems to be ASP.NET related. Basically our app is built on .NET Framework 1.1 and provides reporting Web UI. The problem is, when our customer schedules a reporting job, the memory usage by aspnet_wp.exe just start to jump in dozens of Megabytes. this situation seems to be compounded when customer schedules say, 10 simultaneous reporting jobs, in which case you will see the memory usages break the ceiling of 1GB at which point tasks start to fail and customer will have to restart IIS
Any idea what could be done to pin point the leak? What can I do to address the leak
BTW, I am using the nospam email address to indicate my MS subscription status. Did I do it right? 7 1505
"Xing" <xi**@community .nospam> wrote in message
news:5F******** *************** ***********@mic rosoft.com... Hi all,
I am not an ASP developer but I am in a support case for our customer
who's experiencing resource problems that seems to be ASP.NET related.
Basically our app is built on .NET Framework 1.1 and provides reporting Web
UI. The problem is, when our customer schedules a reporting job, the memory
usage by aspnet_wp.exe just start to jump in dozens of Megabytes. this
situation seems to be compounded when customer schedules say, 10
simultaneous reporting jobs, in which case you will see the memory usages
break the ceiling of 1GB at which point tasks start to fail and customer
will have to restart IIS. Any idea what could be done to pin point the leak? What can I do to
address the leak?
It sounds like the application is designed to use large amounts of memory
for each reporting job. This must be addressed by the application
developer.
David
Thanks for the quick response! The process that's eating up the memory is the one from ASP.NET, aspnet_wp.exe. I agree that the memory issue must have to do with the way our app uses ASP.NET, or maybe it's a bug in ASP.NET. How do I go about and figure it out? Also, it would be OK if the process just needs huge amount of memory temporarily, but it doesn't release the memory after the reporting jobs, which makes the case a leak
Xing
Maybe a GC.Collect() needs to be called after the report is done
processing??
I've found that running a service that processes reports outside of the
aspnet_wp.exe really helps things out.
Michael
"Xing" <xi**@community .nospam> wrote in message
news:FA******** *************** ***********@mic rosoft.com... Thanks for the quick response! The process that's eating up the memory is
the one from ASP.NET, aspnet_wp.exe. I agree that the memory issue must have
to do with the way our app uses ASP.NET, or maybe it's a bug in ASP.NET. How
do I go about and figure it out? Also, it would be OK if the process just
needs huge amount of memory temporarily, but it doesn't release the memory
after the reporting jobs, which makes the case a leak. Xing
Which reporting tool you are using?
We have the same problems for our reports and we are using crystal reports
tool.
"Xing" <xi**@community .nospam> wrote in message
news:5F******** *************** ***********@mic rosoft.com... Hi all,
I am not an ASP developer but I am in a support case for our customer
who's experiencing resource problems that seems to be ASP.NET related.
Basically our app is built on .NET Framework 1.1 and provides reporting Web
UI. The problem is, when our customer schedules a reporting job, the memory
usage by aspnet_wp.exe just start to jump in dozens of Megabytes. this
situation seems to be compounded when customer schedules say, 10
simultaneous reporting jobs, in which case you will see the memory usages
break the ceiling of 1GB at which point tasks start to fail and customer
will have to restart IIS. Any idea what could be done to pin point the leak? What can I do to
address the leak? BTW, I am using the nospam email address to indicate my MS subscription
status. Did I do it right?
This sounds like it is coming from a COM component. If you're using any COM
components, you should implement a Finalize handler, and make sure they are
all released.
"Gibs" <do*********@ya hoo.com> wrote in message
news:OG******** ********@TK2MSF TNGP11.phx.gbl. .. Which reporting tool you are using? We have the same problems for our reports and we are using crystal
reports tool.
"Xing" <xi**@community .nospam> wrote in message news:5F******** *************** ***********@mic rosoft.com... Hi all,
I am not an ASP developer but I am in a support case for our customer who's experiencing resource problems that seems to be ASP.NET related. Basically our app is built on .NET Framework 1.1 and provides reporting
Web UI. The problem is, when our customer schedules a reporting job, the
memory usage by aspnet_wp.exe just start to jump in dozens of Megabytes. this situation seems to be compounded when customer schedules say, 10 simultaneous reporting jobs, in which case you will see the memory usages break the ceiling of 1GB at which point tasks start to fail and customer will have to restart IIS. Any idea what could be done to pin point the leak? What can I do to
address the leak? BTW, I am using the nospam email address to indicate my MS subscription
status. Did I do it right?
Also, check that your app is not doing lots of string concatonation without
using the stringbuilder class, concatonation without it can consume memory
and cause a memory leak. Its outlined in technet somewhere but I cant
recall the URL.
--
Regards
John Timney
Microsoft Regional Director
Microsoft MVP
"Michael Pearson" <mi************ ************@te levox.com> wrote in message
news:uj******** ******@TK2MSFTN GP10.phx.gbl... Maybe a GC.Collect() needs to be called after the report is done processing?? I've found that running a service that processes reports outside of the aspnet_wp.exe really helps things out.
Michael
"Xing" <xi**@community .nospam> wrote in message news:FA******** *************** ***********@mic rosoft.com... Thanks for the quick response! The process that's eating up the memory
is the one from ASP.NET, aspnet_wp.exe. I agree that the memory issue must
have to do with the way our app uses ASP.NET, or maybe it's a bug in ASP.NET.
How do I go about and figure it out? Also, it would be OK if the process just needs huge amount of memory temporarily, but it doesn't release the memory after the reporting jobs, which makes the case a leak. Xing
I had a similar issue with the aspnet_wp. Memeory was balooned too high and
the workers process was restarting.
I was using a 3rd party tool. So initially I did not know who to
blame--Microsoft or 3rd Party. After some investigative I found the 3rd
party control was eating up all the memory during some formatting calls and
I used an alternative approach to solve the memory problem.
The information provided here is too little to conclude. My suggestion would
be --identify the process/function/method that is chewing up the memory and
post the codes (or pseudo codes) in the group to get a better answer.
Prodip
"Xing" <xi**@community .nospam> wrote in message
news:5F******** *************** ***********@mic rosoft.com... Hi all,
I am not an ASP developer but I am in a support case for our customer
who's experiencing resource problems that seems to be ASP.NET related.
Basically our app is built on .NET Framework 1.1 and provides reporting Web
UI. The problem is, when our customer schedules a reporting job, the memory
usage by aspnet_wp.exe just start to jump in dozens of Megabytes. this
situation seems to be compounded when customer schedules say, 10
simultaneous reporting jobs, in which case you will see the memory usages
break the ceiling of 1GB at which point tasks start to fail and customer
will have to restart IIS. Any idea what could be done to pin point the leak? What can I do to
address the leak? BTW, I am using the nospam email address to indicate my MS subscription
status. Did I do it right? This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics |
by: ranjeet.gupta |
last post by:
Dear All
Is the Root Cause of the Memory corruption is the Memory leak, ??
suppose If in the code there is Memory leak, Do this may lead to the
Memory Corruption while executing the program ?
In nut shell, what is/are the realtion/s between the Memory Leak and
Memory Corruption.
Juts Theoritical Assumtion below:
|
by: José Joye |
last post by:
Hi,
I have implemented a Service that is responsible for getting messages from a
MS MQ located on a remote machine. I'm getting memory leak from time to time
(???). In some situation, it is easier to reproduce (e.g.: remote machine
not available). After about 1 day, I get a usage of 300MB of memory.
I have used .NET Memory Profiler tool to try to see where the leak is
located. For all the leaky instances, I can see the following (I...
|
by: Don Nell |
last post by:
Hello
Why is there a memory leak when this code is executed.
for(;;)
{
ManagementScope scope = new ManagementScope();
scope.Options.Username="username";
scope.Options.Password="password";
scope.Path.Path=@"\\pc\root\cimv2";
|
by: jeevankodali |
last post by:
Hi
I have an .Net application which processes thousands of Xml nodes each
day and for each node I am using around 30-40 Regex matches to see if
they satisfy some conditions are not. These Regex matches are called
within a loop (like if or for). E.g.
for(int i = 0; i < 10; i++)
{
Regex r = new Regex();
|
by: James |
last post by:
The following code will create memory leaks!!!
using System;
using System.Diagnostics;
using System.Data;
using System.Data.SqlClient;
namespace MemoryLeak
| |
by: Adrian |
last post by:
Hi
I have a JS program that runs localy (under IE6 only) on a PC but it has
a memory leak (probably the known MS one!)
What applications are there that I could use to look at the memory usage of
each object within my JS app to help locate my problem?
Thanks
|
by: Salvador |
last post by:
Hi,
I am using WMI to gather information about different computers (using win2K
and win 2K3), checking common classes and also WMI load balance. My
application runs every 1 minute and reports the status of the machines.
Upon we follow the .NET object lifetime recommendations the application is
constantly consuming more memory! The problem is on the
ManagementObjectSearch, upon we Dispose the object it seems that is not
releasing the...
|
by: Jim Land |
last post by:
Jack Slocum claims here
http://www.jackslocum.com/yui/2006/10/02/3-easy-steps-to-avoid-javascript-
memory-leaks/
that "almost every site you visit that uses JavaScript is leaking memory".
Anybody know anything about this?
Does *Javascript* leak memeory, or
does the *browser* leak memory?
|
by: Ragnar Agustsson |
last post by:
Hi all
I have been wandering about the best way to sandbox memory leaks in 3rd
party libraries when using them from the .Net framework.
I have a 3rd party library, written in C++, that leaks a lot of memory
but I still had to use it.
1.
After using DLLImport and seeing the memory leak I tried to load and
|
by: Peter |
last post by:
I am using VS2008.
I have a Windows Service application which creates Crystal Reports. This is
a multi theaded application which can run several reports at one time.
My problem - there is a memory leak someplace. I can not detect the memory
leak by running several reports by hand, but when I run tha app as a
servrice and process few hundred reports there is significant memory leak.
The application can consume over 1GB of memory where it...
|
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...
| |
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,...
|
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...
|
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,...
|
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...
|
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...
|
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...
| |
by: TSSRALBI |
last post by:
Hello
I'm a network technician in training and I need your help.
I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs.
The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols.
I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
|
by: adsilva |
last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
| |