473,802 Members | 2,017 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

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 1210
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**********@d iscussions.micr osoft.com> wrote in message
news:A9******** *************** ***********@mic rosoft.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
2355
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 on, but I really need some help on this one. Ok, so I have this class defined (written by Randy Charles Morin, www.kbcafe.com) which detects memory leaks. It creates a memory check point in the constructor, and another in the destructor, and...
4
6094
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";
7
1585
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 is accessed because the data that's being stored is time relevant and the web app will be thrown out in a few months. Since I try to separate the OleDb stuff from the business logic, I just create new database connections and trust that those...
2
5166
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...
16
2394
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. Example: After about 5 hours with a concurrent user base of about 150 users the application raises the aspnet_wp memory usage by almost 500MB. If our server guys modify the web.config this data is released and the workerprocess goes back to a...
6
1779
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 away for a couple of days. Sounds like I have a Memory Leak, but my application is managed and garbage collection is automatic, right? How can I track available memory and what kinds of tools are available to shoot this kind of problem? Thanks,...
23
4576
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
6938
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...
5
2687
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 notice the memory leak. The memory usage in the TaskManager for the process can be seen climbing and climbing, MBs at a time. When using MemProfiler, I noticed the Win32 Heap is what seems to be growing. I've been searching on the internet...
0
9699
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
10538
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
10305
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
10285
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
10063
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 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...
0
9115
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
7598
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
5494
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...
1
4270
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.