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.
We run a test that involves processing 3 pages in a web application
(these do some database access, remoting to a business object layer,
and displaying some results). Astra LoadTest is used to simulate 15
concurrent users, using the application for about 5 hours.
The memoryLimit value in the Machine.config file has been set to
"9999". This is because when it was set to 60% the aspnet_wp.exe
recycled, resulting in lost of data.
The PerfMon results show memory usage as follows:
Start: 80M
After 1 hour: 300M
After 2 hours: 560M
After 3 hours: 680M
After 4 hours: 820M
After 5 hours: 820M
The results show that an increasing amount of memory is being used,
until a threshold of about 820M is reached. At this point the memory
seems to be getting reclaimed (both the Garbage Collector and CPU
usage are more active).
The Astra LoadTest tool shows that there response time for the pages
progressively decreases from about 10 seconds to about 35 seconds.
I have a picture of the PerfMon results if you want to see it (please
email me for this).
My questions are:
Is this pattern of memory usage ‘normal'? Does the amount of memory
used increase until there is little remaining, so the Garbage
Collector then has to do a lot of work?
Is this a memory leak or not?
Thanks
Ian 3 5735
It could be anything - a memory leak in your code, a bug in
ASP.NET or CLR or simply too much load for the GC to handle.
I'd suggest that you read this article and try the troubleshooting
steps described in it:
Production Debugging for .NET Framework Applications
Debugging Memory Problems http://msdn.microsoft.com/library/en...asp?frame=true
<ia********@yahoo.com> wrote: 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.
We run a test that involves processing 3 pages in a web application (these do some database access, remoting to a business object layer, and displaying some results). Astra LoadTest is used to simulate 15 concurrent users, using the application for about 5 hours.
The memoryLimit value in the Machine.config file has been set to "9999". This is because when it was set to 60% the aspnet_wp.exe recycled, resulting in lost of data.
The PerfMon results show memory usage as follows:
Start: 80M After 1 hour: 300M After 2 hours: 560M After 3 hours: 680M After 4 hours: 820M After 5 hours: 820M
The results show that an increasing amount of memory is being used, until a threshold of about 820M is reached. At this point the memory seems to be getting reclaimed (both the Garbage Collector and CPU usage are more active).
The Astra LoadTest tool shows that there response time for the pages progressively decreases from about 10 seconds to about 35 seconds.
I have a picture of the PerfMon results if you want to see it (please email me for this).
My questions are:
Is this pattern of memory usage 'normal'? Does the amount of memory used increase until there is little remaining, so the Garbage Collector then has to do a lot of work?
Is this a memory leak or not?
Thanks Ian
Hi,
thanks for your reply.
It seems the problem is because the Trace flag was set on in the Release build.
Ian
"Pavel Lebedinsky" <m_***@hotmail.com> wrote in message news:<#S**************@TK2MSFTNGP09.phx.gbl>... It could be anything - a memory leak in your code, a bug in ASP.NET or CLR or simply too much load for the GC to handle.
I'd suggest that you read this article and try the troubleshooting steps described in it:
Production Debugging for .NET Framework Applications Debugging Memory Problems
http://msdn.microsoft.com/library/en...asp?frame=true
! -- It seems the problem is because the Trace flag was set on in the Release
Hello ,
would U explain Pls. what is "Trace flag" it may help me too
Thank U
Nir Salab
Zomet Information LTD. Ni*******@zomet.com 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 ?
...
|
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...
|
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";...
|
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...
|
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...
|
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...
|
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".
...
|
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...
|
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...
|
by: taylorcarr |
last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
|
by: Charles Arthur |
last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
|
by: ryjfgjl |
last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
|
by: nemocccc |
last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
|
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...
|
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...
|
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...
|
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,...
|
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...
| |