why do web browsers use so much ram, while the average size of an entire webpage is 2mb?

637 views

From what I understand, one could cache 100 web pages (obviously, 2mb is average, but there are much smaller and much larger than that) in about 200mb. 1GB could cache literally 500 web pages.

How come web browsers use so much ram then?

In: 3000

25 Answers

Anonymous 0 Comments

It is no different than a 1KB code piece which can allocate as many memory as you have. Browsers need to parse the individual files that belong to the website (html, css js etc.) to make sense of it and create structures for it’s own use. Plus most modern browsers spawn an entirely new browser application for each new tab to make sure that when a website crashes, only that tab is crashed.

You are viewing 1 out of 25 answers, click here to view all answers.