Do more on the web, with a fast and secure browser!

Download Opera browser with:

  • built-in ad blocker
  • battery saver
  • free VPN
Download Opera

64-bit browsers have limitations? (HTML size)

  • 64-bit browsers have limitations? I think I have a powerful computer. Lots of memory and a powerful 4 core processor. But I can't open large HTML pages. How to open and view large HTML files in the browser? 🙂

    What is the maximum file size that can be opened? 🙂
    https://postimg.cc/JHJnS6PD

  • @leocg
    Please show me screenshot that 488 MB HTML file can be opened in browser 🙂 Thanks.

    Again question: How to open a huge HTML file / Rendering very large HTML file in-browser? 🙂 64-bit browser.

    I cannot find the FAQ information about the limits. Please give me detailed information because I can't find anywhere on the forum

    488 MB
    512156531 characters
    83838034 words

  • If you provide a link to an HTML file that big, I can test in my Opera to see if it opens.

    Note though that Opera is based on Chromium. So, what Chromium can handle, Opera can handle.

    I don't think there's a hard limit on what Chromium can load. I think it just depends on the resources (RAM) of your computer. Chromium might have a limit on how deep nested elements can be, but there shouldn't be a limit on file size in general. But, if you want to know, you can ask about Chromium specifically. See https://www.chromium.org/developers/discussion-groups.

    The sizes you mention are crazy for an HTML page. If anything, Chromium might not be optimized to handle HTML files that size in a practical manner. What do non-Chromium-based browsers like Firefox and old Microsoft Edge (not the new, Chromium-based one) do in this situation?

  • @burnout426 @burnout426 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!)

    Private data cannot be shared, but I have a great alternative.
    Open any editor (eg Notepad ++ 64-bit), create a simple HTML file and then enter random characters.
    It is quick, simple and easy to do 🙂

  • @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.

  • @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.

  • @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.

  • @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.

  • 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.

  • @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.

  • @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.

  • @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 That's the subject of the other topic.

  • 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