Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

Possible Duplicate:
Is there a text editor for very big files?

I have text file (XML) of 40G. How to open it with text editor to see cursor and it's relative position to the beginning of the file?

My OS is Windows 8 x64

TRIED

Notepad++ - unable
Far's editor - unable
010 Editor - unable
gVIM - unable
Large File Viewer (from Oxygen) - unable
Large Text File Viewer - able but doesn't show position (only line and position within a line)
UltraEdit - unable

Looks like all editors, except Large Text File Viewer are trying to load file into memory first. This is inapplicable. Program should load only portion it displays. No need to read entire file.

It was editor MultiEdit at DOS times which worked this way

P.S.

Minus means nobody will win.

P.P.S.

An answer found.

share|improve this question

marked as duplicate by slhck Feb 3 '13 at 20:24

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.

1  
Chop it up to manageable pieces? If some editor is able to open it, I predict it will take a very long time, use humongous amounts of memory, and be as slow as molasses on a cold winter day oudoors. –  vonbrand Feb 3 '13 at 20:22
1  
Could you perhaps explain why you'd need to see the relative position to the beginning of the file? I assume you're just trying to ask for your attempted solution to some problem that could easily be solved without needing to open up a 40G file. –  slhck Feb 3 '13 at 20:49
5  
@SuzanCioc: The XY Problem is when you want to place a new door in your house. You don't know how to place the door, so you're thinking "How about I remove the wall, place the door, then reconstruct the wall? Yeah! That sounds like a plan... But how do I remove the wall?" Then you ask about removing the wall, not knowing that to fit the door in the existing wall, all you have to do is connect it with hinges. The XY problem isn't rubbish, it's a real problem people have. We see it a lot on Stack Overflow. –  Madara Uchiha Feb 3 '13 at 21:13
4  
No, @Suzan, it's recognition of ignorance, and of the fact that folks who don't know how to solve a problem will often tend to come up with solutions that are overly complicated, impossible, or otherwise less than ideal. We've all done this, and we've all seen the amount of frustration and wasted time it can lead to... Therefore, it is desirable to spare others when possible. –  Shog9 Feb 3 '13 at 21:45
2  
Incidentally, I've solved problems similar to yours by using a stream processor (something like SAX), an efficient in-memory representation of the data (XML DOM is not particularly efficient if you don't necessarily need to store a bunch of strings), and... Multiple, smaller XML files associated with an index file. Oh - and copious amounts of logging in the parser. Might not work for you, but sure as hell beats trying to work with massive XML files in a text editor. –  Shog9 Feb 3 '13 at 21:50

1 Answer 1

Try Oxygen XML Editor. It comes with a large file viewer.

See large file viewer.

share|improve this answer
    
It can't, I tried. –  Suzan Cioc Feb 3 '13 at 20:28
    
Large Text File Viewer swiftgear.com/ltfviewer/features.html –  aetodd Feb 3 '13 at 20:40
    
see my update: it can but has no required function –  Suzan Cioc Feb 3 '13 at 20:43

Not the answer you're looking for? Browse other questions tagged or ask your own question.