Forum Moderators: DixonJones

Message Too Old, No Replies

How to open a 500MB log file?

         

irock

8:53 am on Jun 12, 2003 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Are there any apps out there that can open a 500MB log file? The log isn't compressed... but MS Word can't really handle a file at such size. Anyone has recommendations? I only need an app that shows the raw data.

Thanks!

jpjones

8:55 am on Jun 12, 2003 (gmt 0)

10+ Year Member



I use and highly recommend TextPad. It works well but for files that size your PC could use 500Mb of RAM, otherwise things will sloooow down.

JP

lazerzubb

8:55 am on Jun 12, 2003 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Not sure if textpad can handle it, but i would give it a try.

globay

9:23 am on Jun 12, 2003 (gmt 0)

10+ Year Member



I usually open big log files with my browser. I don't know if it works with a 500MB file though.

bcc1234

9:47 am on Jun 12, 2003 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



EditPlus2 will open it.
Bt I would suggest getting cygwin (if you don't have a unix box nearby) and using less or vi.
Those can handle really large files.

jpjones

10:27 am on Jun 12, 2003 (gmt 0)

10+ Year Member



Not sure if textpad can handle it, but i would give it a try.

Oh, it can. I've done it before :)

Just needs a lot of RAM, or else the system slows down as the swap file comes into play.

Macguru

10:51 am on Jun 12, 2003 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



I had this problem before. Either on my Mac or PC and whathever RAM is crammed into them, I had problems with spot checks on huge logfiles. So I just split them in smaller chunks. I use some freeware for this [google.com], take a pick. Freeware is still cheaper than ram. :)

mattur

12:40 pm on Jun 12, 2003 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



I use TheGun Text Editor for opening v.large files.

"Number One Son has just come back from the gym a bit skinnier and a bit smarter. He now weighs in at 6144 bytes... " ;)

Brett_Tabke

12:45 pm on Jun 12, 2003 (gmt 0)

WebmasterWorld Administrator 10+ Year Member Top Contributors Of The Month



Ditto on Edit Plus. I do multi-gig files a few times a week.

Then again, do you really need to edit it? If not, a simple "viewer" program should work that just splats it on screen and lets you scroll through it.

Ally_Cat

7:43 pm on Jun 12, 2003 (gmt 0)

10+ Year Member



I use GWD Text Editor. Works great for my logs.

graywolf

7:47 pm on Jun 12, 2003 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member Top Contributors Of The Month



UltraEdit also works

littleman

8:42 pm on Jun 12, 2003 (gmt 0)



Do you have access to a Linux/Unix system? There is a very handy command line utility that can dice up any file. I've used it to chop up the ODP rdf.

Appropriately enough, it is called 'split'.

irock

9:18 pm on Jun 12, 2003 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Thanks people... but none of these programs (cmd lines not included) can open my file... what can I do?

I do have a Linux based server. Could I just log onto the directory that holds this 500MB log file and execute some cmd that gets what I want? It seems like easier to me.

If this is possible, could you tell me the exact cmd lines and the procedures to delete the new file?

Thanks again!

ncsuk

9:22 pm on Jun 12, 2003 (gmt 0)

10+ Year Member



Ultaedit should work for 500mb files, ive opened 2gb files in it before.

It can take a while to show if you have a slow PC.

Macguru

9:30 pm on Jun 12, 2003 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



See message # 7, irock. All product on HJSplit page are freeware working like a charm, for splitting and joining huge files. I use HJSplit 2.2 for windows and chunk Joiner on Mac.

[edited by: Macguru at 9:31 pm (utc) on June 12, 2003]

littleman

9:31 pm on Jun 12, 2003 (gmt 0)



here is a quick HowTo:
[kb.indiana.edu...]
Its really smple.