Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Browser File Size Limit.

Status
Not open for further replies.

jagi

Programmer
Mar 13, 2005
48
US
Hi,

I have a static html page with file size 8MB. And it is taking more than a minute to load and taking 100% CPU usage ( 1GB RAM; CPU 2.4 GHz ).

Can anyone please tell me what could be the maximum size limit for the browser, from which point the performance degrades etc.,?

Thanx in advance.
 

That would really depend on the internal workings of each browser, the operating system, CPU and memory speeds, and all number of factors.

The browser has to parse the DOM and build a tree of all objects on a page - even text. With an 8Mb file, I imagine this would cause the CPU to work hard, and take quite a long time.

Hope this helps,
Dan


[tt]D'ya think I got where I am today because I dress like Peter Pan here?[/tt]
[banghead]

 
For someone with a dialup connection, that would take 20 minutes to view the page with the best possible connection speed, and up to twice as long with slower speeds.

As well, scrolling the page would be quite jerky and cumbersome because of all the code the browser would have to interpret.

Why do you have a page that large?

Lee
 

Can anyone please tell me what could be the maximum size limit for the browser, from which point the performance degrades etc.,?

Given the point in my first question about all factors involved, my answer to this specific question would be "No". To find an answer for your particular setup, you'll have to test it yourself. Not only is your setup probably different in some way from everyone elses, but you probably have your own definition of what you would class as a degradation in performance.

Basically what I'm saying is - run some tests yourself.

Dan


[tt]D'ya think I got where I am today because I dress like Peter Pan here?[/tt]
[banghead]

 
what could be the maximum size limit for the browser, from which point the performance degrades
I suppose browsers must have some absolute upper limit to the files they can display, but it's likely to be different from one browser to another. Any limitations are as likely to be related to your PC as they are to the software.

Performance degrades if your file is bigger than one byte. The bigger a file is, the longer it takes. How much longer for how much bigger depends mostly on your PC's specification & performance. On the internet, time taken to render is usually insignificant compared to the time taken to download the page in the first place anyway.

I'm intrigued as to how you can end up with an 8MB web page, was it built with FrontPage perhaps?

-- Chris Hunt
Webmaster & Tragedian
Extra Connections Ltd
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top