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

KB 911309: memory leak w/ application that has custom URL's

Greetings,

I have a question about KB 911309
(http://support.microsoft.com/?kbid=911309) and what it fixes. My company is
using a purchased ASP.NET application and virtual directories to provide
group access to the application. We are using Windows 2000 Server, IIS 5,
and .NET 1.1 SP1. Here is the scenario. The main virtual directory, App
points to e:\Program Files\App in IIS. Then we have virtual directories
Mirror1, Mirror2, etc. pointing to e:\Program Files\App as well. When the
main virtual directory, App, receives a request, aspnet_wp creates a
directory in "Temporary ASP.NET Files" for App, caches the dlls from
E:\Program Files\APP under the directory, and loads them into memory. When
Mirror1 and Mirror2 are requested, aspnet_wp creates temporary directories
for them as well and loads 2 more copies of the dll's into memory. When I
read KB 911309, it sounded to me like the fix would change the behavior so
that only one copy of the DLL's would be loaded into memory. However, I
think I am misread and/or misunderstood what kb 911309 fixes. Is it intended
to fix aspnet_wp so that only one copy of the DLL's loads in the scenario
above or did I misunderstand?
Jun 5 '06 #1
1 1193
you misread. the fix was having more then one url point to the same aspx
page in the same vdir (the bug caused the page to be compiled and loaded
more than once into the same appdomain) . as every vdir get its own
appdomain, a shared dll, is loaded in to each appdomain.

-- bruce (sqlwork.com)
"Steve Besalke" <St**********@discussions.microsoft.com> wrote in message
news:A9**********************************@microsof t.com...
Greetings,

I have a question about KB 911309
(http://support.microsoft.com/?kbid=911309) and what it fixes. My company
is
using a purchased ASP.NET application and virtual directories to provide
group access to the application. We are using Windows 2000 Server, IIS 5,
and .NET 1.1 SP1. Here is the scenario. The main virtual directory, App
points to e:\Program Files\App in IIS. Then we have virtual directories
Mirror1, Mirror2, etc. pointing to e:\Program Files\App as well. When the
main virtual directory, App, receives a request, aspnet_wp creates a
directory in "Temporary ASP.NET Files" for App, caches the dlls from
E:\Program Files\APP under the directory, and loads them into memory.
When
Mirror1 and Mirror2 are requested, aspnet_wp creates temporary directories
for them as well and loads 2 more copies of the dll's into memory. When I
read KB 911309, it sounded to me like the fix would change the behavior so
that only one copy of the DLL's would be loaded into memory. However, I
think I am misread and/or misunderstood what kb 911309 fixes. Is it
intended
to fix aspnet_wp so that only one copy of the DLL's loads in the scenario
above or did I misunderstand?

Jun 5 '06 #2

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

Similar topics

4
by: Morten Aune Lyrstad | last post by:
Ok, now I'm officially confused. I have a large project going, which uses a win32 ui library I am developing myself. And I'm getting weird memory leaks. I don't know if I can explain what is going...
4
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";...
7
by: Jon Davis | last post by:
OK I have a web app that I built that makes MANY calls to the DB in each request. The app wasn't tuned for scalability so this wasn't a problem, but time is too short to redesign how the database...
2
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...
16
by: JCauble | last post by:
We have a large Asp.net application that is currently crashing our production servers. What we are seeing is the aspnet_wp eat up a bunch of memory and then stop unexpectedly. Does not recycle. ...
6
by: Tina | last post by:
My asp.net app that ran fine on my dev boxes is having problems at my web hoster who is running IIS 6. I'm getting Out of Memory exceptoions. When my web hoster bounces my app, the problem goes...
23
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
7
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...
5
by: RobbGMelenyk | last post by:
I've got a Windows Service written in C# that is having some unfortunate memory issues. I've been working with .NET MemProfiler and AllocationProfiler. But you don't have to use those programs to...
0
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,...
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: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
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?
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
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,...
0
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...

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.