64-bit browsers have limitations? (HTML size)
-
leocg Moderator Volunteer last edited by leocg
@facebookcom You are the one facing such problem, so you need to provide a page that you can't open due to its size.
You need to follow the instructions.
-
facebookcom last edited by leocg
Step 1: Creating the HTML file
Open up your computer's plain text editor and create a new file.
Step 2: Type some HTML code
Start with an empty window and type the following code:<!DOCTYPE html> <html lang="en"> <head> <title>A simple HTML document</title> </head> <body> <p>bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla blabla bla bla bla bla bla bla bla blabla bla bla bla bla bla bla bla blabla bla bla bla bla bla bla bla blabla bla bla bla bla bla bla bla blabla bla bla bla bla bla bla bla blabla bla bla bla bla bla bla bla blabla bla bla bla bla bla bla bla blabla bla bla bla bla bla bla bla blabla bla bla bla bla bla bla bla blabla bla bla bla bla bla bla bla blabla bla bla bla bla bla AND MANY, MANY, MANY MORE text...<p> </body> </html>
Step 3: Saving the file
Now save the file on your desktop as "test_page.html ".
Stpep4: To open the file in a browser. -
leocg Moderator Volunteer last edited by
@facebookcom If you don't want to provide people with a page or test case where your problem can be verified, then this topic will be closed.
-
sgunhouse Moderator Volunteer last edited by
@facebookcom I thought you said "huge". Even 32-bit browsers should be able to handle that size. Mind you, I have heard of issues with pages that are too long, but being half a gigabyte in size doesn't require that it result in a million lines of text.
-
burnout426 Volunteer last edited by
Okay. here is a 405MB html file (compressed with 7-zip). It consists of 12,463,115 instances of
<p>Paragraph n</p>
(where n is its number) with each on its own line.Chromium seems to try and load it. It starts to render lots of the paragraphs. But, it's just so slow in doing so that I'd die waiting for it to finish all of them. Basically same thing in Firefox. It uses a lot more RAM and when it finally starts to render the text, it renders over the top of previous paragraphs. Again though, I got tired of waiting, so I never waited for the document to finish loading.
I also tried with a 670MB html file. Firefox and Internet Explorer crashed. Chromium-based browsers would barely use any RAM and would just render some of the paragraphs in the viewport I scrolled. But, the document never finished loading and the scrolling and rendering was too slow to be practical.
So, in short, a 405MB html file (in this particular case of lots of elements with a little bit of text in each) is way too big for browsers (even 64-bit ones on systems with lots of RAM). It's up to you to test what file size etc. browsers start crapping out at, but I'd guess it's way lower than 400MB. You'll need to find a way to split the content of those big HTML files into a bunch of smaller ones. Or, find something else besides a browser to deal with those HTML files.
-
burnout426 Volunteer last edited by
@facebookcom said in 64-bit browsers have limitations? (HTML size):
I checked on a powerful configuration and it doesn't change anything. Still, Opera can't handle such a large file. It won't even handle much, smaller 4MB (can't be copied!)
Opera can handle a 4MB HTML file no problem. Would need a specific example where it can't and where it works fine in other Chromium-based browsers.
-
leocg Moderator Volunteer last edited by
@burnout426 I opened it in Opera Developer 75. After about 5 minutes and the document still loading, I gave up.
CPU usage was high and RAM usage was at around 5GB and increasing.Also tried in Chrome Canary and after a few minutes I get a error page saying that something went wrong due to SBOX_FATAL_MEMORY_EXCEEDED
In Firefox I got a tab crashed warning after less than 30 seconds.
And with the view panel (not sure about the name in English) enabled, the document the fans work a lot and Windows Explorer to freeze.
-
facebookcom last edited by
@burnout426 Of course, all the time I mean:
CTRL + A select all text
Right-click Mouse to try to bring up the browser 'Context Menu'. -
facebookcom last edited by facebookcom
huge.html (405 MB)
SBOX FATAL MEMORY EXCEEDED constantly and chrome is using large amounts of memory 15 GB RAM (physical memory), the browser crashes: SBOX_FATAL_MEMORY_EXCEEDED
-