If the vi editor causes a core dump, split the file into multiple segments:
split - n
filename name
and press Enter, where n
is the number of lines in each piece (1000 is the default), filename
is the name of the files you want to split, and name
is the new segment you are creating.