large file handling

Get help with the installation and running of the Zeus IDE. Please do not post bug reports or feature requests here. When in doubt post your question here.
Post Reply
alanm
Posts: 20
Joined: Tue Sep 20, 2005 2:58 pm
Location: Shropshire U.K.

large file handling

Post by alanm »

hi,
I have a text file of some 900,000 lines. I need to edit this file to remove the first 400,000 lines. Is there an easy way to do this from within zeus.


or is there a quick and easy way to delete every line with a particular phrase. I have many 000s of lines with the phrase 'writing data into runtime'.


regards

Alan
jussij
Site Admin
Posts: 2650
Joined: Fri Aug 13, 2004 5:10 pm

Post by jussij »

Hi Alan,
I have a text file of some 900,000 lines. I need to edit this file to
remove the first 400,000 lines. Is there an easy way to do this from
within zeus.

Zeus is really not great at editing large files, only becasuse it must load the enitre file into memory. Another cause of problems is the fact when you do the delete 400,000 lines will be put into the undo buffer.

But provided you system has lots of RAM it might work :?

If it was me I would make a good backup copy of the file and then see if it can be done in Zeus. If I find Zeus running too slowly I would kill the task and use a script to do the delete :?:

Cheers Jussi
alanm
Posts: 20
Joined: Tue Sep 20, 2005 2:58 pm
Location: Shropshire U.K.

Post by alanm »

Hi,
I found ZEUS to be really good at editing files with use of the macro feature. I have managed to deal with my large file by generating a macro to remove pages of data at a time. long winded but it works.

regards

Alan
Post Reply