I\'m working with a very big text file (755Mb). I need to sort the lines (about 1890000) and then write them back in another file.
I already noticed that discussion
Maybe u can use perl to format the file .and load into the database like mysql. it's so fast. and use the index to query the data. and write to another file.
u can set jvm heap size like '-Xms256m -Xmx1024m' .i hope to help u .thanks