Currently, we use c++ code to read in files (line by line, then sort it and save it to other format (txt file)), data read in line by line is saved in vector. This is all fine for small size data file.
but now we need to support large data files which crash our code (no enough memory for vector to reallocate and store. we can't know how many lines data we'll have, so we can't set size for vector).
So we are thinking we should probably redesign our code to deal with large data. This time, we hope we can save data in a way which we can manipulate (search, sort, insert, ...) data locally and as a whole.
I hope someone here could point me to a right direction how I should do this: such as what languages, data structures, algorithms, and etc I can use.