I mean 100+ MB big; such text files can push the envelope of editors.
I need to look through a large XML file, but cannot if the editor is buggy.
Any suggestions?
Join Stack Overflow to learn, share knowledge, and build your career.
|
I mean 100+ MB big; such text files can push the envelope of editors. I need to look through a large XML file, but cannot if the editor is buggy. Any suggestions? |
||||
closed as not constructive by Kev Jan 27 '12 at 1:47As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance. If this question can be reworded to fit the rules in the help center, please edit the question. locked by Matt♦ Sep 2 '15 at 20:08This question's answers are a collaborative effort: if you see something that can be improved, just edit the answer to improve it! No additional answers can be added here |
||||
|
The 010Editor on Windows will open GIANT (think 5 GB) files in binary mode and allow you to edit and search the text. Community wiki: Suggestions are
Or, if you just want to peek at the start of the file, the Windows built-in |
|||||||||||||||||||||
|
|
Why are you using editors to just look at a (large) file? Under *nix or Cygwin, just use less ("less is more", only better, since you can back up). Searching and navigating under less is very similar to Vim, but there is no swap file and little RAM used. There is a native Win32 port of GNU "less". See the comment below. Piggybacking off of some of the comments below, Perl's ".." (range flip/flop) operator makes a nice selection mechanism to limit the crud you have to wade through, as well. For example:
(start at line 1 million and stop at line 2 million, sift the output manually in "less")
(start when the "interesting regular expression" finds something, stop when the "boring regular expression" find the end of an interesting block -- may find multiple blocks, sift the output...) Finally, 100 MB isn't too big. 3 GB is getting kind of big. I used to work at a print & mail facility that created about 2 % of U.S. first class mail. One of the systems for which I was the tech lead accounted for about 15+ % of the pieces of mail. We had some big files to debug here and there. Community Wiki Suggestions: Use LogParser to look at the file:
|
|||||||||||||||||||||
|
Thank you for your interest in this question.
Because it has attracted low-quality or spam answers that had to be removed, posting an answer now requires 10 reputation on this site (the association bonus does not count).
Would you like to answer one of these unanswered questions instead?
logrotate? – Thanatos Jul 19 '10 at 2:11