herme3 Posted March 3, 2005 Posted March 3, 2005 Does anyone know how to quickly open a huge .txt file? A text file that is over 100 GB?
1veedo Posted March 3, 2005 Posted March 3, 2005 It would be awsome if I had that much ram. And HD as well.
Cadmus Posted March 3, 2005 Posted March 3, 2005 Does anyone know how to quickly open a huge .txt file? A text file that is over 100 GB?I have to open and read text files larger than 10 zigabytes on a daily basis. Do you want to open the entire file at once? If so, double click it. That is the fastest way that I know in Windows OS. Right clicking is slower. If you want to read only a part of the file, write a program using your favorite language to display a small portion of the file.
ensonik Posted March 3, 2005 Posted March 3, 2005 I have to open and read text files larger than 10 zigabytes on a daily basis. zigabytes?
herme3 Posted March 3, 2005 Author Posted March 3, 2005 It is a really big number I had the computer calculate. The computer saved it in a text file. The file is over 100 GB and I only have 1 GB of RAM. It is too big for Notepad or Word. When I double click on it, it tries to open it in Notepad, then it displays an error message. Does anyone know how to open it?
Sayonara Posted March 4, 2005 Posted March 4, 2005 Without the RAM, you just can't. You could conceivably write a script that programmatically displays chunks of it though.
Phi for All Posted March 4, 2005 Posted March 4, 2005 You have a number in a text file that is so big it takes up over 100 GB of hard drive? What are you going to do with this number? Are you going to use it for more calculations or are you just curious to see what the answer turned out to be?
herme3 Posted March 4, 2005 Author Posted March 4, 2005 You have a number in a text file that is so big it takes up over 100 GB of hard drive? What are you going to do with this number? Are you going to use it for more calculations or are you just curious to see what the answer turned out to be? I just ran the equation 1+1 one trillion times. Then I grouped it all together as one number. For example, it goes 12345678910111213141516 and it keeps going for a very long time. The computer is still calculating it. I think I will run out of hard drive space before it gets to a trillion. Now, I have no way to open it! What about virtual RAM?
Cadmus Posted March 4, 2005 Posted March 4, 2005 I just ran the equation 1+1 one trillion times. Then I grouped it all together as one number. For example, it goes 12345678910111213141516 and it keeps going for a very long time. The computer is still calculating it. I think I will run out of hard drive space before it gets to a trillion. Now, I have no way to open it!Why not rerun it, and save every 10,000 or so to a different file.
Cap'n Refsmmat Posted March 4, 2005 Posted March 4, 2005 I just ran the equation 1+1 one trillion times. Then I grouped it all together as one number. For example, it goes 12345678910111213141516 and it keeps going for a very long time. The computer is still calculating it. I think I will run out of hard drive space before it gets to a trillion. Now, I have no way to open it! What about virtual RAM? Why bother? If you made the program automatically put it in seperate text files instead of the same one each time (like have it do a new one every ten minutes), and then print them out seperately, that would work.
The Rebel Posted March 4, 2005 Posted March 4, 2005 What is the objective of this counting experiment????
herme3 Posted March 4, 2005 Author Posted March 4, 2005 What is the objective of this counting experiment???? What is the world record for the largest number ever created on a computer? Maybe I could beat that record.
Silencer Posted March 4, 2005 Posted March 4, 2005 I don't see why you couldn't open this using your swap space. The problem is the size of the windows page file... it needs to have a larger limit. I would prefer to do it in linux. You can create a swap partition of whatever size you need, and the text editors are better. Plus, the program will probably run quicker.
5614 Posted March 4, 2005 Posted March 4, 2005 you could convert it to a .html file by renaming it but i don't know how that would work with the <html> tags and the <body> etc as you couldn't edit 'view source' because that runs in notepad (by default, for windows) when i had a file that was too big for notepad it opened in wordpad (old computer) but if it doesnt open in word i dont think it'll open in wordpad. If you consider the super computers of todays world, if you do beat a record anyone who has access to a supercomputer could outstrip your record quite quickly!
5614 Posted March 4, 2005 Posted March 4, 2005 you could convert it to a .html file by renaming it but i don't know how that would work with the <html> tags and the <body> etc as you couldn't edit 'view source' because that runs in notepad (by default' date=' for windows)[/quote'] It works, you do not need the tags, just the text by itself will work, I just tried... that's for IE, should work on FF too though.
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now