DonationCoder.com forum
 
Read-only archive. This is a static copy of the DonationCoder.com forum. Reading and searching work as before; logging in, posting and private messages do not.
Archive of 2026-10-21 · About this archive · Main site

Author Topic: how to open large html files  (Read 18,470 times)

kalos

  • Member
  • Joined in 2006
  • **
  • Posts: 1,824
how to open large html files
« on: October 09, 2009, 08:03 PM »
hello

is there a program that can open a 42 MB html file?

thanks

Veign

  • Charter Honorary Member
  • Joined in 2005
  • ***
  • Posts: 993
    • Gathering Badge
    • Participated in NANY Challenge Twice
Re: how to open large html files
« Reply #1 on: October 09, 2009, 08:38 PM »
emEditor will open it without a problem.

Question is what are you doing with a 42MB html file?  What's its use?

kalos

  • Member
  • Joined in 2006
  • **
  • Posts: 1,824
Re: how to open large html files
« Reply #2 on: October 09, 2009, 09:36 PM »
it is a combined file of many html files that I need to extract the text (by the way most text extraction programs don't work)

emeditor opens it as text, but I need it in web view

JavaJones

  • Review 2.0 Designer
  • Charter Member
  • Joined in 2005
  • ***
  • Posts: 2,739
    • Participated in NANY Challenge Once
Re: how to open large html files
« Reply #3 on: October 09, 2009, 09:49 PM »
"In web view" e.g. as a web browser would view it? Ugh, good luck getting something to parse it that way. Maybe some kind of progressive rendering scheme would work (see Slashdot.org front page), but it'd take forever and probably bring most any browser to its knees.

- Oshyan

f0dder

  • [Well, THAT escalated quickly!]
  • Charter Honorary Member
  • Joined in 2005
  • ***
  • Posts: 9,153
    • Participated in NANY Challenge Once
Re: how to open large html files
« Reply #4 on: October 09, 2009, 10:53 PM »
What kind of text extraction do you need?

If you're lucky, perhaps a bit of regex magic could do the extraction... a bit less lucky (and very wellformed HTML) an XML parsing library could probably be used... but no way to tell unless you give some more details :)
- carpe noctem

Veign

  • Charter Honorary Member
  • Joined in 2005
  • ***
  • Posts: 993
    • Gathering Badge
    • Participated in NANY Challenge Twice
Re: how to open large html files
« Reply #5 on: October 09, 2009, 11:24 PM »
If a browser won't open it (try Chrome) then you won't find anything as most 3rd party browser app use one of the rendering engines (IE or Firefox most likely).

MilesAhead

  • Supporting Member
  • Joined in 2009
  • **
  • Posts: 7,736
    • Coding Snacks
Re: how to open large html files
« Reply #6 on: October 10, 2009, 12:16 AM »
If you are running a 64 bit OS try Firefox 64 bit.
http://www.start64.com/index.php?option=com_content&task=view&id=25&Itemid=75

MrCrispy

  • Participant
  • Joined in 2006
  • *
  • Posts: 332
Re: how to open large html files
« Reply #7 on: October 10, 2009, 07:51 AM »
At work we have some log files produced by various tests that are quite large. IE and Firefox have all sorts of problems, esp when searching for text. Chrome works reliably. That being said, it depends a lot on the complexity of the html/javascript/css in the file.

app103

  • That scary taskbar girl
  • Global Moderator
  • Joined in 2006
  • *****
  • Posts: 5,888
    • Participated in NANY Challenge Six Times
    • Coding Snacks
    • Gathering Badge
    • Cody Award
    • Volunteers/Staff
Re: how to open large html files
« Reply #8 on: October 11, 2009, 02:53 AM »
If all else fails, you could try an HTML splitter and break it up into smaller files your browser can handle.

Here is a freeware one I found: http://www.rekenwonder.com/htmlsplitter.htm

joiwind

  • carpe momentum
  • Participant
  • Joined in 2009
  • *
  • Posts: 486
Re: how to open large html files
« Reply #9 on: October 12, 2009, 10:21 PM »
Have you tried Universal Viewer - it might work ?

Curt

  • Supporting Member
  • Joined in 2006
  • **
  • Posts: 7,565
Re: how to open large html files
« Reply #10 on: October 14, 2009, 09:52 AM »
Have you tried Universal Viewer - it might work ?

just be aware of the mode

Quote from: Ultra Viewer FAQ
Q3: What are the limits for files sizes?

A: UltraViewer can show, in Text/Binary/Hex/Unicode modes, files of any size. You can quickly scroll huge files in mentioned view modes, as UV holds in memory only small amount of file data (approximately 120-180 Kb), and not the whole file contents.

But you cannot open huge files in RTF/UTF-8 mode or in Plugins mode, because RichEdit control and most of plugins try to load the whole file contents and this will be very slow and will fail.

f0dder

  • [Well, THAT escalated quickly!]
  • Charter Honorary Member
  • Joined in 2005
  • ***
  • Posts: 9,153
    • Participated in NANY Challenge Once
Re: how to open large html files
« Reply #11 on: October 14, 2009, 10:00 AM »
But you cannot open huge files in RTF/UTF-8 mode or in Plugins mode, because RichEdit control and most of plugins try to load the whole file contents and this will be very slow and will fail.
That sounds a bit weird - there's nothing about the RichEdit control that requires a full file to be loaded into memory, you can stream in and out as you desire.
- carpe noctem

Lashiec

  • Member
  • Joined in 2006
  • **
  • Posts: 2,374
Re: how to open large html files
« Reply #12 on: October 14, 2009, 02:36 PM »
Universal Viewer won't help in this particular case, since it uses Trident to parse and render HTML. That is, it would be exactly the same as using IE. If it wasn't for the web view requirement, it would be able to do without a hitch, but so could hundreds of other apps.

Original address: https://www.donationcoder.com/forum/index.php?topic=20224.0