How can I debug this memory usage / home usage on my JS / Update dashboard site

I hope some Javascript / ASP.Net gurus can give me some tips.

I wrote an application that (unfortunately) uses UpdatePanel (yes, I know that it was a stupid idea, it's too late, though, I understand it more now - even though I have problems with it on my intranet site )

A site is a schedule website, a type of tabular format. Anyway, it basically saves everything in it on the update panel and automatically starts once a minute. This seems to work fine for me, but I'm using firefox. Other users with more schedules and IE7 experience problems with increasing IE memory usage and slowing down the browser.

I ran a sieve (checks for memory leaks on the website) and it was pretty obvious that it was bad: alt text http://rodh.org/images/Programming/sievemain.png

So my site loaded and ran a little, updated it during the dive and left it, and you can see once a minute when it bounces a little. The area on the timeline before the dive was when I pressed the save button a bit, so its obvious what causes it. Nodes and DOM memory grow.

I use ScriptManager.RegisterClientScriptBlock (mainly to get the clientID of the controls so that I can make javascript totals) and also ScriptManager.RegisterStartupScript on page_load to set that the focus will be the same after partial postback. Maybe they are contributing?

- , ? , - divs ? , , , , ? alt text http://rodh.org/images/Programming/sievnodes.png

- , , -, DOM, ...

, hte , , , , taht , , - ? JS , , , - . http://rodh.org/images/Programming/javascript.txt http://rodh.org/images/Programming/codebehind.txt

, , : - - , ? - DOM UpdatePanels ( JQuery btw) - ?

+3
1

, Microsoft IE (KB 2000262) UpdatePanels. DOM. , , IE ( ) . FF .

, :

  • UpdateMode = , .
  • KB 2000262

UpdatePanel Async Postsback slow IE... 3

+4

Source: https://habr.com/ru/post/1720543/


All Articles