I have an existing asp.net 2.0 webforms app using master/content pages, and
it works fine.
I added some Ajax elements, including some UpdatePanels and modal PopUp
panels which contain asp.net controls like gridviews with selectable rows,
buttons, textboxes. I'm using Ajax 1.0, and the users are still using IE 6.
Some heavy users reported that the application starts to run slowly after a
while, and task manager shows the memory usage for IE increasing to 150 to
170 meg and up.
I have searched google, and read articles like "Understand ing and Solving
Internet Explorer Leak Patterns", but I have not added any javascript with
the Ajax controls, so I haven't created any circular references or other
memory leak problems.
Is there a resolution for this apparent memory leak?
Thanks
Bill 8 4169
Some heavy users reported that the application starts to run slowly after
a while, and task manager shows the memory usage for IE increasing to 150
to 170 meg and up.
Are you using few or more iframe's?
If so, see if you have some code like window.obj = item1 || { } or
parent.obj = item1 || { }
This is one of the most common source of memory-leak on IE.
I'm not quite sure if there's any place where these memory-leak cases are
put documented :)
--
Happy Hacking,
Gaurav Vaish | www.mastergaurav.com www.edujini-labs.com http://eduzine.edujini-labs.com
-----------------------------------------
but the toolkit controls generate a lot of javascript. you probably need
to break your down to smaller chunks, and test each control to find the
"leak".
-- bruce (sqlwork.com)
BillE wrote:
I have an existing asp.net 2.0 webforms app using master/content pages, and
it works fine.
I added some Ajax elements, including some UpdatePanels and modal PopUp
panels which contain asp.net controls like gridviews with selectable rows,
buttons, textboxes. I'm using Ajax 1.0, and the users are still using IE 6.
Some heavy users reported that the application starts to run slowly after a
while, and task manager shows the memory usage for IE increasing to 150 to
170 meg and up.
I have searched google, and read articles like "Understand ing and Solving
Internet Explorer Leak Patterns", but I have not added any javascript with
the Ajax controls, so I haven't created any circular references or other
memory leak problems.
Is there a resolution for this apparent memory leak?
Thanks
Bill
So the javascript generated by the ajax controls is causing the memory leak?
Once I have identified the control can I fix it, or just remove it?
Would it sound like whining if I said that MS should fix this?
"bruce barker" <no****@nospam. comwrote in message
news:%2******** ********@TK2MSF TNGP02.phx.gbl. ..
but the toolkit controls generate a lot of javascript. you probably need
to break your down to smaller chunks, and test each control to find the
"leak".
-- bruce (sqlwork.com)
BillE wrote:
>I have an existing asp.net 2.0 webforms app using master/content pages, and it works fine.
I added some Ajax elements, including some UpdatePanels and modal PopUp panels which contain asp.net controls like gridviews with selectable rows, buttons, textboxes. I'm using Ajax 1.0, and the users are still using IE 6.
Some heavy users reported that the application starts to run slowly after a while, and task manager shows the memory usage for IE increasing to 150 to 170 meg and up.
I have searched google, and read articles like "Understand ing and Solving Internet Explorer Leak Patterns", but I have not added any javascript with the Ajax controls, so I haven't created any circular references or other memory leak problems.
Is there a resolution for this apparent memory leak?
Thanks Bill
if its toolkit control (say the modal), then its not MS, its a codeplex
open source project. you can download the source and post a fix.
-- bruce (sqlwork.com)
BillE wrote:
So the javascript generated by the ajax controls is causing the memory leak?
Once I have identified the control can I fix it, or just remove it?
Would it sound like whining if I said that MS should fix this?
"bruce barker" <no****@nospam. comwrote in message
news:%2******** ********@TK2MSF TNGP02.phx.gbl. ..
>but the toolkit controls generate a lot of javascript. you probably need to break your down to smaller chunks, and test each control to find the "leak".
-- bruce (sqlwork.com)
BillE wrote:
>>I have an existing asp.net 2.0 webforms app using master/content pages, and it works fine.
I added some Ajax elements, including some UpdatePanels and modal PopUp panels which contain asp.net controls like gridviews with selectable rows, buttons, textboxes. I'm using Ajax 1.0, and the users are still using IE 6.
Some heavy users reported that the application starts to run slowly after a while, and task manager shows the memory usage for IE increasing to 150 to 170 meg and up.
I have searched google, and read articles like "Understand ing and Solving Internet Explorer Leak Patterns", but I have not added any javascript with the Ajax controls, so I haven't created any circular references or other memory leak problems.
Is there a resolution for this apparent memory leak?
Thanks Bill
Hi,
BillE wrote:
So the javascript generated by the ajax controls is causing the memory leak?
Once I have identified the control can I fix it, or just remove it?
Would it sound like whining if I said that MS should fix this?
Which versionj of IE are you using? In my previous project, a web
application with a self written AJAX layer (this was before ASP.NET
AJAX), we found memory leaks in IE6 and reported to Microsoft. Most
leaks were solved by Microsoft in a "security patch" which was made
available something like 2 year ago, I guess. Some leaks still remain,
especially handle leaks. The problem is that it's quite easy to create
circular references in the web browser between the JavaScript engine,
the HTML engine and the CSS engine. These leaks are usually cleaned up
when the page is reloaded (because everything is garbage collected), but
with AJAX, pages are often not reloaded for days (in our case, a few
days at least are typical, this can go up to 3 weeks).
HTH,
Laurent
--
Laurent Bugnion [MVP ASP.NET]
Software engineering, Blog: http://www.galasoft.ch
PhotoAlbum: http://www.galasoft.ch/pictures
Support children in Calcutta: http://www.calcutta-espoir.ch
The client is using IE6.
Are these memory leaks caused by Ajax or in IE6? I realize that can't be
answered without identifying the memory leak, but I'm trying to figure out
whether to yank Ajax out of my app, which will be tough because now users
are used to it.
I'm surprised because my usage of Ajax involves just the simplest, most
basic implementation of an update panel and modal popup, yet it doesn't take
long before the thing bogs down and i hate telling users that they should
close IE every now and then to release memory!
"Laurent Bugnion, MVP" <ga*********@bl uewin.chwrote in message
news:%2******** ********@TK2MSF TNGP02.phx.gbl. ..
Hi,
BillE wrote:
>So the javascript generated by the ajax controls is causing the memory leak?
Once I have identified the control can I fix it, or just remove it?
Would it sound like whining if I said that MS should fix this?
Which versionj of IE are you using? In my previous project, a web
application with a self written AJAX layer (this was before ASP.NET AJAX),
we found memory leaks in IE6 and reported to Microsoft. Most leaks were
solved by Microsoft in a "security patch" which was made available
something like 2 year ago, I guess. Some leaks still remain, especially
handle leaks. The problem is that it's quite easy to create circular
references in the web browser between the JavaScript engine, the HTML
engine and the CSS engine. These leaks are usually cleaned up when the
page is reloaded (because everything is garbage collected), but with AJAX,
pages are often not reloaded for days (in our case, a few days at least
are typical, this can go up to 3 weeks).
HTH,
Laurent
--
Laurent Bugnion [MVP ASP.NET]
Software engineering, Blog: http://www.galasoft.ch
PhotoAlbum: http://www.galasoft.ch/pictures
Support children in Calcutta: http://www.calcutta-espoir.ch
Hi,
BillE wrote:
The client is using IE6.
Are these memory leaks caused by Ajax or in IE6? I realize that can't be
answered without identifying the memory leak, but I'm trying to figure out
whether to yank Ajax out of my app, which will be tough because now users
are used to it.
JavaScript runs in the IEXPLORE process, so the leaks were in this
process too. Symptoms were that if you left the web application (which
regularly connects to the server for a heartbeat) run too long, the
memory usage would grow uncontrolled, the number of handles too, until
eventually the application was so slow that we had to shut it down manually.
I'm surprised because my usage of Ajax involves just the simplest, most
basic implementation of an update panel and modal popup, yet it doesn't take
long before the thing bogs down and i hate telling users that they should
close IE every now and then to release memory!
I don't have much experience with ASP.NET AJAX. As I said, our flavour
of AJAX was self-made, and we were able to modify it until we were
satisfied.
HTH,
Laurent
--
Laurent Bugnion [MVP ASP.NET]
Software engineering, Blog: http://www.galasoft.ch
PhotoAlbum: http://www.galasoft.ch/pictures
Support children in Calcutta: http://www.calcutta-espoir.ch
Thanks.
"Laurent Bugnion, MVP" <ga*********@bl uewin.chwrote in message
news:eW******** *****@TK2MSFTNG P02.phx.gbl...
Hi,
BillE wrote:
>The client is using IE6.
Are these memory leaks caused by Ajax or in IE6? I realize that can't be answered without identifying the memory leak, but I'm trying to figure out whether to yank Ajax out of my app, which will be tough because now users are used to it.
JavaScript runs in the IEXPLORE process, so the leaks were in this process
too. Symptoms were that if you left the web application (which regularly
connects to the server for a heartbeat) run too long, the memory usage
would grow uncontrolled, the number of handles too, until eventually the
application was so slow that we had to shut it down manually.
>I'm surprised because my usage of Ajax involves just the simplest, most basic implementation of an update panel and modal popup, yet it doesn't take long before the thing bogs down and i hate telling users that they should close IE every now and then to release memory!
I don't have much experience with ASP.NET AJAX. As I said, our flavour of
AJAX was self-made, and we were able to modify it until we were satisfied.
HTH,
Laurent
--
Laurent Bugnion [MVP ASP.NET]
Software engineering, Blog: http://www.galasoft.ch
PhotoAlbum: http://www.galasoft.ch/pictures
Support children in Calcutta: http://www.calcutta-espoir.ch 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: 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: petermichaux |
last post by:
Hi,
Reading the Yahoo! UI AJAX library, there is a unique workaround for an
apparent IE 6 memory leak with binding a function to
onreadystatechange. Instead of binding a function to
onreadystatechange, the library polls the readystate of the request
object until it becomes 4. Then it calls the handler function. This
polling seems like a lot of work but maybe is a good approach? If bad
then what is better? Another person asked about this...
| |
by: CeyloR |
last post by:
Hello everyone,
I have a problem with my Ajax page.
I'm jusing prototype-1.4.0.js as framework.
I have a function to populate three listboxes. The items in the
listboxes are from a MYSQL database and are related. The items are
requested by a php page.
|
by: HarryA |
last post by:
Hello all, what would be a good book or
article to learn AJAX with HTML/CSS/javascript
on the client side and Perl on the server side?
I am NOT interested in XML, PHP, CGI::
AJAX or other 'tools' that unburden the
user from javascript, etc.
thanks in advance.
|
by: =?Utf-8?B?Tmlrb2xheSBFdnNlZXY=?= |
last post by:
Hi!
I know this topic has been discussed a long way, but I haven't found any
apparent solution (maybe I shouldn't be looking for a one :)) I have a very
simple application with one page and with just ScriptManager object in it.
Every time I refresh the page the memory usage goes up. I have AJAX
extenstions 1.0 installed and IE7 on winxp. Is this IE or AJAX problem, and
how did you guys cope with this problem?
Please reply asap... i am...
|
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: 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: 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: 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();...
|
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?
|
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: muto222 |
last post by:
How can i add a mobile payment intergratation into php mysql website.
| |
by: bsmnconsultancy |
last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...
| |