Wrox Home  
Search P2P Archive for: Go

  Return to Index  

javascript thread: netscrape browser hangs intermittently


Message #1 by speedguru@m... on Thu, 4 Apr 2002 11:57:59
hi,

i have a data-driven dhtml page (a VARIABLE number of records are extracted using ASP using ADO )that uses a css & 2 external js pages. To achieve the Expanding & Collapsing effect to show & hide records, div's are heavily used. The problem is, if the records shown are less , the page loads fine everytime. i tried reloading a data driven page handling 50 records , 15 times & it worked fine

if there are too many records,150+ , page loads the first time but subsequently hangs up on reloading on the second instance or sometimes later. in some cases there is no fixed pattern about when it hangs. I find a message "Connect : Contacting host <ip address>" & when I check the task manager it shows "Not responding" against Netscape browser.The toolbar also freezes and I can't access any of the Toolbar buttons and when i click on the close button the 'End Program' box pops up

 I don't know if it matter but I observed something else...In the "Processes" tab of Task Manager  I noticed in one case (when some 200 records are retrieved),that when i open  the page for the first time..the memory usage peaks to around 50000k and then reaches 9000k finally when the page is loaded. The second time when i reloaded it the page (that was supposed to show 200 records) peaked to ~90000k and  then finally stopped at ~9000k

 i guess bcos there are no error messages and page definitely loads the first time...my code does not contain any errors. But what could be going wrong ?

i'm testing with a  Netscape Communicator 4.77 browser on a win2k m/c . any kind of help would be appreciated.

tfyt

  Return to Index